Hide Forgot
Spec URL: http://people.redhat.com/nmavrogi/fedora/datefudge.spec SRPM URL: http://people.redhat.com/nmavrogi/fedora/datefudge-1.18-1.fc20.src.rpm 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. This is particularly useful when checking the handling of programs of certificate expiration/activation etc. Fedora Account System Username: nmav
First, do you want to support EL5?
Hello, I really don't know. Is there a reason for not supporting it?
(In reply to Nikos Mavrogiannopoulos from comment #2) > Hello, > I really don't know. Is there a reason for not supporting it? I don't know, but if you don't want to support EL5, you need to remove some lines as modern RPM doesn't need these lines. I don't know which os you are using, but I don't think we need to care about EL5.(Just my opinion) Waiting for your final answer.
I have no particular reason to support EL5, so indeed I should drop anything unneeded.
Ok. So: 1. Remove these: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) rm -rf %{buildroot} in %install Whole %clean %defattr(-,root,root,-) 2. URL better use PTS page: http://packages.qa.debian.org/d/datefudge.html 3. Source0 better use CDN: http://cdn.debian.net/debian/pool/main/d/datefudge/datefudge_1.18.tar.gz with macro replaced, too. 4. I checked your patch. INSTALL_PROGRAM := "install" should also be patched to INSTALL_PROGRAM := "install -p" 5. $(CFLAGS) should be inserted with %{optflags}: http://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags You can define cflags like make CFLAGS="%{optflags}" And $(LDFLAGS) also should be defined with %{__global_ldflags}
Thanks. It's now updated based on your comments. I've uploaded a -2 version.
Please paste the new URL.
(In reply to Christopher Meng from comment #7) > Please paste the new URL. Spec URL: http://people.redhat.com/nmavrogi/fedora/datefudge.spec SRPM URL: http://people.redhat.com/nmavrogi/fedora/datefudge-1.18-2.fc20.src.rpm
datefudge.i686: E: incorrect-fsf-address /usr/share/doc/datefudge/COPYING Please notify upstream about this. ------------- PACKAGE APPROVED.
New Package SCM Request ======================= Package Name: datefudge Short Description: fakes the system date/time Owners: nmav Branches: f19 f20
(In reply to Christopher Meng from comment #9) > datefudge.i686: E: incorrect-fsf-address /usr/share/doc/datefudge/COPYING > > Please notify upstream about this. > > ------------- > > PACKAGE APPROVED. Notified, thanks.
Git done (by process-git-requests).
datefudge-1.18-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/datefudge-1.18-2.fc20
datefudge-1.18-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/datefudge-1.18-2.fc19
datefudge-1.18-2.fc20 has been pushed to the Fedora 20 testing repository.
datefudge-1.18-2.fc19 has been pushed to the Fedora 19 stable repository.
datefudge-1.18-2.fc20 has been pushed to the Fedora 20 stable repository.