BRing qt3 on both fedora and EPEL
Rex Dieter
rdieter at math.unl.edu
Fri Apr 3 16:02:06 CEST 2009
David Timms wrote:
> Hi, I got a few hints reqarding this on IRC:
>
> I'm trying to adjust my spec to BR qt 3, in a way that works on EPEL and
> Fedora. mharris suggested this might work:
> BuildRequires: qt-devel >= 3
> BuildRequires: qt-devel < 4, which -bs ok, actual build fails:
I'd suggest something like this:
%if 0%{?fedora} > 6
%define qt3 qt3
%else
%define qt3 qt
%endif
BuildRequires: %{qt3}-devel
fedora kde-sig'ers use similar specfile constructs all over. (Similarly
for kdelibs vs kdelibs3 too) :) See digikam or koffice in fedora cvs
for examples.
-- Rex
More information about the rpmfusion-developers
mailing list