Created attachment 401281 [details] initrddir, not initddir Description of problem: RPM fails to build due to referencing missing macro (%{_initddir} vs %{_initrddir}) Version-Release number of selected component (if applicable): 1.1.2 How reproducible: Always Steps to Reproduce: 1. ./configure && make openais.spec 2. rpmbuild -bb openais.spec Actual results: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/openais-1.1.2-2.r-r14582 error: Installed (but unpackaged) file(s) found: /%{_initddir}/openais RPM build errors: File not found: /var/tmp/openais-1.1.2-2.r-r14582/etc/rc.d/init.d/openais Installed (but unpackaged) file(s) found: /%{_initddir}/openais Expected results: Error-free build and binary RPM. Additional info: Patch attached.
On which distribution are you building? This macro exists in Fedora at least for the past 3 or 4 releases.
RHEL 5.4: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.4 (Tikanga) # rpm --showrc | grep init -14: _initrddir %{_sysconfdir}/rc.d/init.d
Looks like a sensible change, interesting enough you didn´t see the same problem with corosync. I´ll just clone this one.
Fixed upstream in both trunk and openais 1.1.3 release.