2013-11-19 13:25:56 +00:00
|
|
|
Name: datefudge
|
2020-10-12 12:54:41 +00:00
|
|
|
Version: 1.24
|
2022-07-21 00:03:05 +00:00
|
|
|
Release: 5%{?dist}
|
2013-11-19 13:25:56 +00:00
|
|
|
Summary: Fake the system date
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://packages.qa.debian.org/d/datefudge.html
|
2016-09-02 06:35:32 +00:00
|
|
|
Source0: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.xz
|
2013-11-19 13:25:56 +00:00
|
|
|
|
2018-07-24 14:00:49 +00:00
|
|
|
BuildRequires: gcc
|
2020-12-17 04:14:57 +00:00
|
|
|
BuildRequires: make
|
2013-11-19 13:25:56 +00:00
|
|
|
%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
|
2020-02-11 07:15:23 +00:00
|
|
|
%autosetup -p1
|
2014-12-03 13:25:18 +00:00
|
|
|
sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile
|
|
|
|
sed 's/-o root -g root/-p/g' -i Makefile
|
2013-11-19 13:25:56 +00:00
|
|
|
|
|
|
|
%build
|
2014-12-03 13:25:18 +00:00
|
|
|
LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags}
|
2013-11-19 13:25:56 +00:00
|
|
|
|
|
|
|
%install
|
2014-12-03 13:25:18 +00:00
|
|
|
make install DESTDIR=%{buildroot} libdir=%{_libexecdir}
|
2013-11-19 13:25:56 +00:00
|
|
|
chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
%doc README COPYING
|
|
|
|
%{_mandir}/man1/datefudge.1*
|
|
|
|
%{_bindir}/datefudge
|
|
|
|
|
|
|
|
%changelog
|
2022-07-21 00:03:05 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 00:16:50 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 20:24:01 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 03:00:19 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-12 12:54:41 +00:00
|
|
|
* Mon Oct 12 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.24-1
|
|
|
|
- New upstream release
|
|
|
|
|
2020-07-27 15:01:32 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-11 07:15:23 +00:00
|
|
|
* Tue Feb 11 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.23-1
|
|
|
|
- New upstream release
|
|
|
|
|
2020-01-28 15:22:17 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-24 21:33:15 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 16:48:33 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 22:35:40 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 06:22:01 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-11 07:20:23 +00:00
|
|
|
* Fri Aug 11 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.22-1
|
|
|
|
- New upstream release
|
|
|
|
|
2017-08-02 19:27:24 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 05:57:50 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 08:11:06 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-09-02 06:35:32 +00:00
|
|
|
* Fri Sep 2 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.21-1
|
|
|
|
- New upstream release
|
|
|
|
|
2016-02-03 18:28:32 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 03:43:40 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-12-03 13:25:18 +00:00
|
|
|
* Wed Dec 3 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.20-1
|
|
|
|
- New upstream release
|
|
|
|
|
2014-08-16 02:15:02 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 06:49:45 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-11-19 13:25:56 +00:00
|
|
|
* Mon Nov 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-2
|
|
|
|
- Removed support for EL5
|
|
|
|
- Apply build LDFLAGS and CFLAGS.
|
|
|
|
|
|
|
|
* Wed Nov 13 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-1
|
|
|
|
- Initial version of the package
|