|
|
db994d |
Name: datefudge
|
|
|
db994d |
Version: 1.22
|
|
|
db994d |
Release: 2%{?dist}
|
|
|
db994d |
Summary: Fake the system date
|
|
|
db994d |
|
|
|
db994d |
License: GPLv2+
|
|
|
db994d |
URL: http://packages.qa.debian.org/d/datefudge.html
|
|
|
db994d |
Source0: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.xz
|
|
|
db994d |
|
|
|
db994d |
%description
|
|
|
db994d |
This program (and preload library) fakes the system date so that
|
|
|
db994d |
programs think the wall clock is ... different. The faking is not
|
|
|
db994d |
complete; time-stamp on files are not affected in any way. This
|
|
|
db994d |
package is useful if you want to test the date handling of your
|
|
|
db994d |
programs without changing the system clock.
|
|
|
db994d |
|
|
|
db994d |
%prep
|
|
|
db994d |
%setup -q
|
|
|
db994d |
sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile
|
|
|
db994d |
sed 's/-o root -g root/-p/g' -i Makefile
|
|
|
db994d |
|
|
|
db994d |
%build
|
|
|
db994d |
LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags}
|
|
|
db994d |
|
|
|
db994d |
%install
|
|
|
db994d |
make install DESTDIR=%{buildroot} libdir=%{_libexecdir}
|
|
|
db994d |
chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping
|
|
|
db994d |
|
|
|
db994d |
%files
|
|
|
db994d |
%{_libexecdir}/%{name}
|
|
|
db994d |
|
|
|
db994d |
%doc README COPYING
|
|
|
db994d |
%{_mandir}/man1/datefudge.1*
|
|
|
db994d |
%{_bindir}/datefudge
|
|
|
db994d |
|
|
|
db994d |
%changelog
|
|
|
db994d |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-2
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Fri Aug 11 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.22-1
|
|
|
db994d |
- New upstream release
|
|
|
db994d |
|
|
|
db994d |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-3
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Fri Sep 2 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.21-1
|
|
|
db994d |
- New upstream release
|
|
|
db994d |
|
|
|
db994d |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Wed Dec 3 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.20-1
|
|
|
db994d |
- New upstream release
|
|
|
db994d |
|
|
|
db994d |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
|
|
|
db994d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
db994d |
|
|
|
db994d |
* Mon Nov 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-2
|
|
|
db994d |
- Removed support for EL5
|
|
|
db994d |
- Apply build LDFLAGS and CFLAGS.
|
|
|
db994d |
|
|
|
db994d |
* Wed Nov 13 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.18-1
|
|
|
db994d |
- Initial version of the package
|