Re: SPEC file question

Kevin DeKorte <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
On Wed, 2005-12-14 at 18:00 +0100, Matthias Saou wrote:
> Kevin DeKorte wrote :
> 
> > So say in my current spec file I have
> > 
> > BuildRequires: xorg-x11-devel mozilla-devel > 1.5 gtk2-devel > 2.2.1
> > 
> > In FC5 this might be a different list so how can I say
> > 
> > BuildRequires: (xorg-x11-devel or (xorg-xpm-devel and
> > xorg-something-devel) and mozilla-devel > 1.5 and gtk2-devel > 2.2.1
> > 
> > 
> > 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? Again right now my spec file works correctly for FC3
and FC4, but I just want to make sure it will work correctly for FC5 as
well. So I guess I will wait and see and hopefully FC5 will make a
xorg-x11-devel package or at least have a provides for us.

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)

iD8DBQBDoF3jaR60qN0tF+8RAq5NAJ9V4bJYiFoliuA+qIGfsWDfRByNowCfa3AZ
CYQFTH3e8PN44Qyz6M5k/vk=
=a628
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.