Bugzilla – Bug 712173
openSUSE:Tools/spec-cleaner: frivolous %{_initddir} breaks SLE_11_SP1
Last modified: 2015-04-20 09:02:56 UTC
spec-cleaner replaces ‘/etc/init.d’ with ‘${_initddir}’; this breaks SLE_11_SP1 builds with the following message: cannot create regular file `/var/tmp/sysvinit-2.88+-build%{_initddir}/powerd'
spec-cleaner replaces ‘/etc/init.d’ with ‘%{_initddir}’
Tomáš is reviving spec-cleaner at https://github.com/openSUSE/spec-cleaner so reassigning the bugs to him.
%_initddir is not defined in SLE 11 SP1. But as a goal is to improve spec file quality in Factory I see proper solution to fix SLE in OBS, not spec-cleaner.
Marcus, as one of members of autobuild-team group who maintains SUSE:SLE-11:* projects, what is your opinion here?
I think this question is more for the rpm maintainer and the maintenance team: do we want to backport newer macros into sles 11 RPM and release it as update? IMHO it is fine as long as we don't change existing macros. but adding new ones shouldn't break anything. we could put them into /etc/rpm/macros.backport We could just do it inside the prjconf but then rebuilding with rpmbuild wouldnt work anymore.
We can track this in our planned updates list and include the fix in the next update for 'rpm'.
I'm not sure with the state but Tomas is now probably proper assignee.
This was fixed somewhere on the road. SP3 does not have this problem and all obs instances seems to build against it. Closing for now unless you guys find another case where it is happening. Also currently prefferable method is to report issues over github.