Mailinglist Archive: opensuse-packaging (71 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Hint needed
- From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
- Date: Sat, 25 Nov 2006 13:18:27 +0100
- Message-id: <45683493.3000105@xxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Detlef Reichelt wrote:
> Am Donnerstag, 23. November 2006 13:38 schrieb Nadia Derbey:
>> After building my packages using rpmbuild, solving all the rpmlint
>> complaints, I have tried to build my packages using build.
>> Everything worked fine, but I'd like to know if it is 'legal' to copy
>> the $HOME/.rpmmacros into the BUILD_ROOT directory.
>
> why not using lbuild (1)? With lbuild, you can put your marcros
> in /etc/build/files/10.1/etc/rpm/macros an simple build you rpms
> with "lbuild-10.1 foo.spec".
On a side note, be very careful what you put into .rpmmacros (or
etc/rpm/macros with lbuild) because it can cause builds to be
unreproducible.
IMO build reproduceability is a very important feature of RPM (well,
src.rpm's).
Defining %distribution and %package [1] is fine and could even be
considered good practice, but overriding/adding macros means the src.rpm
won't build on other hosts/environments than your own.
[1] e.g.:
%packager Pascal Bleser <guru@xxxxxxxxxxx>
%distribution SUSE LINUX 10.1 (X86-64)
just my 0.02?
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFaDSTr3NMWliFcXcRAqf/AJ4gFg1IA4SG94+pQOVasI83VJOsqwCfdQwa
lldS/Qi0k7GTtFFlGsDzIfU=
=aSbO
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
Hash: SHA1
Detlef Reichelt wrote:
> Am Donnerstag, 23. November 2006 13:38 schrieb Nadia Derbey:
>> After building my packages using rpmbuild, solving all the rpmlint
>> complaints, I have tried to build my packages using build.
>> Everything worked fine, but I'd like to know if it is 'legal' to copy
>> the $HOME/.rpmmacros into the BUILD_ROOT directory.
>
> why not using lbuild (1)? With lbuild, you can put your marcros
> in /etc/build/files/10.1/etc/rpm/macros an simple build you rpms
> with "lbuild-10.1 foo.spec".
On a side note, be very careful what you put into .rpmmacros (or
etc/rpm/macros with lbuild) because it can cause builds to be
unreproducible.
IMO build reproduceability is a very important feature of RPM (well,
src.rpm's).
Defining %distribution and %package [1] is fine and could even be
considered good practice, but overriding/adding macros means the src.rpm
won't build on other hosts/environments than your own.
[1] e.g.:
%packager Pascal Bleser <guru@xxxxxxxxxxx>
%distribution SUSE LINUX 10.1 (X86-64)
just my 0.02?
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFaDSTr3NMWliFcXcRAqf/AJ4gFg1IA4SG94+pQOVasI83VJOsqwCfdQwa
lldS/Qi0k7GTtFFlGsDzIfU=
=aSbO
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |