Re: SPEC file question
Matthias Saou <thias@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net>
| Newsgroups | gmane.linux.freshrpms.user,gmane.spam.detected |
|---|---|
| Message-ID | <20051214180056.66e8c419@python2> |
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 -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora Core release 4 (Stentz) - Linux kernel 2.6.14-1.1644_FC4 Load : 0.40 0.49 0.38