## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: datefudge Version: 1.27 Release: %{?autorelease}%{!?autorelease:1%{?dist}} Summary: Fake the system date License: GPL-2.0-or-later URL: http://packages.qa.debian.org/d/datefudge.html Source0: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.xz BuildRequires: gcc BuildRequires: make %description This program (and preload library) fakes the system date so that programs think the wall clock is ... different. The faking is not complete; time-stamp on files are not affected in any way. This package is useful if you want to test the date handling of your programs without changing the system clock. %prep %autosetup -p1 sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile sed 's/-o root -g root/-p/g' -i Makefile %build LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags} %install make install DESTDIR=%{buildroot} libdir=%{_libexecdir} chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping %files %{_libexecdir}/%{name} %doc README COPYING %{_mandir}/man1/datefudge.1* %{_bindir}/datefudge %changelog ## START: Generated by rpmautospec * Mon Sep 02 2024 Jakub Jelen - 1.27-1 - New upstream release (#2309032) * Wed Jul 17 2024 Fedora Release Engineering - 1.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Feb 13 2024 Jakub Jelen - 1.26-1 - New upstream release (#2259507) * Wed Jan 24 2024 Fedora Release Engineering - 1.24-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.24-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 24 2023 Daiki Ueno - 1.24-11 - Migrate License field to SPDX license identifier * Wed Jul 19 2023 Fedora Release Engineering - 1.24-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.24-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.24-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Oct 12 2020 Nikos Mavrogiannopoulos - 1.24-1 - New upstream release * Mon Jul 27 2020 Fedora Release Engineering - 1.23-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Feb 11 2020 Nikos Mavrogiannopoulos - 1.23-1 - New upstream release * Tue Jan 28 2020 Fedora Release Engineering - 1.22-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.22-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.22-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Aug 11 2017 Nikos Mavrogiannopoulos - 1.22-1 - New upstream release * Wed Aug 02 2017 Fedora Release Engineering - 1.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Sep 2 2016 Nikos Mavrogiannopoulos - 1.21-1 - New upstream release * Wed Feb 03 2016 Fedora Release Engineering - 1.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Dec 3 2014 Nikos Mavrogiannopoulos - 1.20-1 - New upstream release * Sat Aug 16 2014 Fedora Release Engineering - 1.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Nov 18 2013 Nikos Mavrogiannopoulos - 1.18-2 - Removed support for EL5 - Apply build LDFLAGS and CFLAGS. * Wed Nov 13 2013 Nikos Mavrogiannopoulos - 1.18-1 - Initial version of the package ## END: Generated by rpmautospec