Re: SPEC file question

Rex Dieter <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
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
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.