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

Re: .spec file for multiple target distros



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 numériquement signée


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