Mailinglist Archive: opensuse-packaging (71 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Hint needed
- From: Nadia Derbey <Nadia.Derbey@xxxxxxxx>
- Date: Mon, 27 Nov 2006 10:26:41 +0100
- Message-id: <456AAF51.7080008@xxxxxxxx>
Pascal Bleser wrote:
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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
-----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?
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: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |