pcp
[Top] [All Lists]

Re: kmchart rpmbuild fails with opensuse 11

To: markgw@xxxxxxx
Subject: Re: kmchart rpmbuild fails with opensuse 11
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 03 Sep 2008 10:24:10 +1000
Cc: "Nelson, Doug" <doug.nelson@xxxxxxxxx>, pcp@xxxxxxxxxxx
In-reply-to: <48BDD869.5080108@sgi.com>
References: <48BDB82E.5090901@intel.com> <1220396598.4714.24.camel@verge.scott.net.au> <48BDD869.5080108@sgi.com>
Sender: pcp-bounce@xxxxxxxxxxx
On Wed, 2008-09-03 at 10:20 +1000, Mark Goodwin wrote:
> ...
> Something like the following probably works (well, SLES sets %_vendor
> but I'm not sure about OpenSuSE). Alternatively, use %_vendor to
> define another macro for the base package name (i.e. libqt4 or qt4) :
> 
> Requires: pcp >= 2.0
> BuildRequires: pcp >= 2.0
> %if %_vendor == "suse"
> Requires: libqt4 >= 4.2
> Requires: libqt4-doc >= 4.2
> BuildRequires: libqt-doc >= 4.2
> BuildRequires: libqt4-devel >= 4.2
> %else
> Requires: qt4 >= 4.2
> Requires: qt4-doc >= 4.2
> BuildRequires: qt-doc >= 4.2
> BuildRequires: qt4-devel >= 4.2
> %endif

Nice and simple - does that work for your OpenSuse build Doug?

cheers.

--
Nathan


<Prev in Thread] Current Thread [Next in Thread>