Re: SPEC file question
Kevin DeKorte <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2005-12-14 at 14:27 -0600, Rex Dieter wrote: > Kevin DeKorte wrote: > > On Wed, 2005-12-14 at 18:00 +0100, Matthias Saou wrote: > > >>>Basically I want to be able to use the same spec file for FC3 thru FC5. > >>> > >>>Any ideas on this? > >> > >>Yes : > >>1) Wait for the next xorg update to FC4 (and hopefully/maybe FC3 too), > >> which should "Provides:" all of these new libraries. > >>2) Use some spec file macros like we are doing in rpmforge and in > >> Fedora Extras. You'll have to pass options like "--define 'dist fc4'" > >> or "--define 'fedora 4'" to rpmbuild, though. > >> > >>Matthias > >> > > > > > > Since I use mock to compile different versions of my package would I > > need the defines? > > AFAIK, no, mock when using buildsys-macros defines those for you. > > -- Rex > So this goes back to my original questions 1. Can I use a single BuildRequires to specify packages on an 'or' condition and how would I phrase that? 2. If the defines are there can I use them to specify different BuildRequires? As for mach, I was never able to get it to build things for me.. maybe the newer versions work now. Kevin -- Get my public GnuPG key from http://keyserver.veridis.com:11371/export?id=7574690260641978351
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDoJsaaR60qN0tF+8RAhYmAKCYZW3xVFUcCbu1tMtTTMb/H+4dYwCgjiGv u0gFiRaExMsWqqdVe30BEqk= =w/0v -----END PGP SIGNATURE-----