[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: One spec for all platforms : Package names
- From: John Pye <john pye student unsw edu au>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: One spec for all platforms : Package names
- Date: Sat, 29 Jul 2006 12:02:45 +1000
This looks closely related to a question of my own that I just posted. I
think that it *may* be possible to define your distro in your
~/.rpmmacros, then use the following. Whether this is supported or not
is not documented in any of the 'manuals'. Someone else might be able to
give you more authoritative answer.
%if %dist=="fc5"
Name: xorg-X11-devel
%else
...
%endif
Cheers
JP
Devrim GUNDUZ wrote:
>
> Hi,
>
> I'm currently doing an RPM packaging and want to use same spec file
> for all distros. However, sometimes filenames may change between
> releases. For example, xorg-X11-devel (FC4) became libX11-devel at
> FC5. Is there an easy way to merge all these buildrequires(or other
> requirements) in one spec file, like "if distro=fc5, then
> buildrequires is this..."
>
> Regards,
> --
> Devrim GUNDUZ
> devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
> http://www.gunduz.org
_______________________________________________
Rpm-list mailing list
Rpm-list redhat com
https://www.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]