git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Two RPM building improvements

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 27, 2009, 16:20 UTC
Message-ID
<7vvdpvdjj4.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<m3k56b2hy2.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
Show 17 quoted lines
> 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.

Previous: Michael J GruberNext: Michael J Gruber
Message 4 of 5 in “Two RPM building improvements”
  1. Two RPM building improvementsNiels Basjes, Mar 27, 2009
  2. Jakub NarebskiMar 27, 2009
  3. Michael J GruberMar 27, 2009
  4. Junio C HamanoMar 27, 2009
  5. Michael J GruberMar 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.