Re: Making an rpm that works on both FC4 and FC5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Axel Liljencrantz wrote:

Is it possible to specify that a package should require either
libX11-devel or xorg-devel?

Here's what I use, since the FE buildsystem defines the macro %{fedora}:

%if "%{?fedora}" > "4"
BuildRequires: libX11-devel
%else
BuildRequires: xorg-x11-devel
%endif

-- Rex

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux