RPM Community Forums

Mailing List Message of <rpm-devel>

/var/spool/repackage vs %{_topdir}/TR

From: Anders F Björklund <afb@algonet.se>
Date: Fri 10 Aug 2007 - 20:57:10 CEST
Message-Id: <c5bcbcd938a44631aa3a8b9890c705fe@algonet.se>

After first getting "bitten" in RPM 4.4.9 by the fact that
${prefix}/var/spool/repackage wasn't created by the install,
but was still *mandatory* for the default package erasure
to work (since %_repackage_all_erasures defaults to 1 now);

When upgrading to RPM 5.0 CVS I now find that it has been
moved to the development directory (%{_topdir}) instead...
Although I do agree that hardcoding /var/spool/repackage
is bad, I had placed %{_topdir} in the developer category.


Should "rpm" really be using such "rpmbuild" directories ?
Wouldn't it be better to keep it under /var rather than TR ?
Though it would be nice if "make install" also created it.
(I added a mkdir for it, just as the rpm.spec seems to do)

--anders
Received on Fri Aug 10 21:17:33 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.