Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739347
--- Comment #7 from Jussi Lehtola jussi.lehtola@iki.fi 2011-09-23 02:45:54 EDT --- (In reply to comment #6)
(In reply to comment #5)
But my question is: why do you run rm -rf %{buildroot}/etc/init.d in the first place?
1)There is generic haveged start script. This one is installed to /etc/init.d.
OK, then please make a note about this in the spec file. Note that you don't necessarily need to remove the generic script if you just replace it with the Fedora specific script.
However, this script does not work well on Fedora. I need to use haveged_fedora
That's why I rename the script:
install -m755 -D init.d/haveged_fedora %{buildroot}%{_initrddir}/haveged
- I would like to install start script into /etc/rc.d/init.d directory.
http://fedoraproject.org/wiki/Packaging:SysVInitScript "Packages with SysV-style initscripts must put them into /etc/rc.d/init.d. A rpm macro exists for this directory, %_initddir."
So the directory itself is fine, but you should use a different macro.