Re: .spec file for multiple target distros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le dimanche 30 juillet 2006 à 12:03 +1000, John Pye a écrit :

> I could either
> create a new (separate) RPM that just contains the older libgfortran, or
> I could just include the file inside my package (and add a "Provides:
> libgfortran" tag of some sort, perhaps). I was thinking that I would use
> an %if statement inside my .spec file that would test which distro I was
> building for (either using the 'dist' variable, or perhaps using "--with
> bundled_gfortran") and depending on which one it was, either include
> libgfortran in the RPM or not.

Do that and a lot of people won't ever touch your packages with a
10-foot pole. Bundling unrelated libs in a package, especially because
you can't figure how to build with the new distro-supplied version, is
strongly frowned upon. (also the legal and maintenance side-effects are
interesting)

-- 
Nicolas Mailhot

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux