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 #9 from Jiri Hladky <hladky.jiri(a)gmail.com> 2011-09-23 18:48:08 EDT ---
Hi Jussi,
I have tried to remove
rm -rf %{buildroot}/etc/init.d
line and it does not work:
========================================================================
rpmbuild -ba SPECS/haveged.spec
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/jirka/rpmbuild/BUILDROOT/haveged-1.2-1.fc14.i386
error: Installed (but unpackaged) file(s) found:
/etc/init.d/haveged
RPM build errors:
Installed (but unpackaged) file(s) found:
/etc/init.d/haveged
========================================================================
To summarize:
make install of the package havege will install generic script to
/etc/init.d/haveged
We need to:
Install Fedora specific script to /etc/rc.d/init.d directory
Since we don't want /etc/init.d/haveged to be packed into rpm, we need to
remove it from the %{buildroot} directory otherwise rpm built-in check will
give us an error described above.
Resolution:
I have added following comment to the spec file
#Installing Fedora specific haveged SysV-style initscript
#http://fedoraproject.org/wiki/Packaging:SysVInitScript
#Need to remove haveged specific script from %{buildroot} since it's installed
to the wrong location
#(/etc/init.d instead of /etc/rc.d/init.d)
New SPEC File and SRPM:
Spec URL:
http://jhladky.fedorapeople.org/haveged-1.2-2.fc14.spec
SRPM URL:
http://jhladky.fedorapeople.org/haveged-1.2-2.fc14.src.rpm
Thanks
Jirka
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.