Skip to contentSkip to conversation

Two RPM building improvements

PATCH Niels Basjes 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi Jakub,

Quoted 4 lines · ----- Jakub Narebski
Quoted 1 line · Niels Basjes

Two RPM building improvements:

Two _unrelated_ RPM building improvements squashed in one commit.

Hmm, well, ok. You're right.

Quoted 8 lines
Quoted 1 line

- 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

Yes, you're right. It has always been possible.
That works fine if you want all RPMS of multiple project to be thrown in one heap and have to spent time figuring out which rpms were built by which project.
I've always preferred forcing the rpmbuilding to be done in a subdirectory of the current source checkout. That way I can easily remove all old stuff of _this_ project (simply remove the entire subdirectory) and easily know what has been created by this project.

Quoted 1 line

Please RTFM first,

I read the RTFM (really I did).

Quoted 1 line

before going to solve non-problem in (ugh) fairly complicated way.

What makes this complicated?
It's only different from what you're used to.

Quoted 5 lines
Quoted 2 lines

- The additional target all-rpms now builds the RPMs for a
multitude of target platforms.

Please wrap commit messages at 72-76 columns, at most at 80 columns. No such overly long lines, please.

Ok.

Quoted 1 line

But the all-rpms target looks like a good idea

Ok, discard this patch. I'll submit new (splitout) patches.

Signature · 6 lines
Met vriendelijke groeten,

Niels Basjes

ir. drs. Niels Basjes  -  http://niels.basj.es/  -  VCV 20000302
mailto:`echo 'Niels Basjes'|sed 's/\(.*\)\(..\)/\1.\2/g;s/ /@/g'`