[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: spec file for multiple distributions.
- From: John Pye <john pye student unsw edu au>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: spec file for multiple distributions.
- Date: Mon, 21 May 2007 17:27:37 +1000
Hi Martin,
Tony Earnshaw wrote:
>> use %{dist} but it's defined in a macro? and about naming
>> packages : can i dynamically name a package regarding to the
>> distribution it's been built ?
%{dist} can be defined in your .rpmmacros file, which you create in your
home directory on each separate build host. Then you add %{dist} at the
end of your 'Release:' line, and the .rpm files will end up with the
dist tag in the resulting filenames (suggest that you use %{?dist} so
that if the marco file is missing, you end up with no text added).
Cheers
JP
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]