From: Matthias A. <ma...@dt...> - 2004-06-19 04:51:56
|
Rob Funk <rf...@fu...> writes: > Matthias Andree at BerliOS wrote: >> Modified: >> trunk/dist-tools/shipper/buildrpms >> Log: >> Try fallback to rpm (in case rpm is version 3). >> >> -rpmbuild --rcfile "$RCFILE" $ARCH -ta $TARBALL >> +rpmbuild --rcfile "$RCFILE" $ARCH -ta $TARBALL \ >> +|| rpm --rcfile "$RCFILE" $ARCH -ta $TARBALL > > How old is rpm version 3? Isn't it old enough to ignore by now? Doesn't > rpm v3 require building the rpm file as root? RPM v3 is still in use on supported SuSE versions, for instance 8.2, and they have a nifty "patch RPM" feature for their online update - so it's not old enough yet unfortunately. I'm not aware of RPM requiring "root" - that's just a matter of permissions on directories and all that. RPM v3 supports BuildRoot and all that is needed. > One of my next steps was going to be removing the references to building > the rpm as root. I'm looking forward to those changes. :-) -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 |