Pascal Bleser wrote:
-----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 <[EMAIL PROTECTED]>
%distribution SUSE LINUX 10.1 (X86-64)
just my 0.02?
Pascal,
I use .rpmmacros to set the %packager and what is needed for the gpg
signature (otherwise rpmlint complains about it :-( ).
So, may be my question should have been the following:
How to sign packages when they are built using build (or lbuild).
Regards,
Nadia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]