Re: [PATCH] Two RPM building improvements
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Mar 27, 2009, 19:43 UTC
- Message-ID
- <49CD2C55.8020502@drmicha.warpmail.net>
- In-Reply-To
- <7vvdpvdjj4.fsf@gitster.siamese.dyndns.org>
Junio C Hamano venit, vidit, dixit 27.03.2009 17:20:
Show 27 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes: > >> Niels Basjes <Niels@Basjes.nl> writes: >> >>> Two RPM building improvements: >> >> Two _unrelated_ RPM building improvements squashed in one commit. >> >>> - Building the RPMs can now be done by a non-root user. >> >> It was always possible, you only have to configure rpm / rpmbuild, >> namely put path to where you want your RPM_BUILDING directory in >> ~/.rpmmacros as %_topdir, for example: >> >> $ cat ~/.rpmmacros >> %_topdir /home/local/builddir >> >> Please RTFM first, before going to solve non-problem in (ugh) fairly >> complicated way. > > That might be a bit too harsh to somebody who genuinely wished to share > his improvement with others. > > Being RPM novice, the first thing I asked around immediately after taking > the maintainership over was the ~/.rpmmacros trick. We really should > mention it in _our_ documentation, even just a sentence or two would be > sufficient.
I assumed everyone building rpms would use rpmdev-setuptree from rpmdevtools, but apparently not ;) I'm not sure whether non-Redhat rpm-based distros have that, though.
I'm wondering a bit about the all-rpms target. How does this work without mock? All build requirements installed for all platforms?? I think it really calls for a mock build/vm (unless i386 on x86_64).
Michael