pcp
[Top] [All Lists]

Re: kmchart rpmbuild fails with opensuse 11

To: "markgw@xxxxxxx" <markgw@xxxxxxx>
Subject: Re: kmchart rpmbuild fails with opensuse 11
From: "Nelson, Doug" <doug.nelson@xxxxxxxxx>
Date: Tue, 02 Sep 2008 18:16:24 -0700
Cc: Nathan Scott <nscott@xxxxxxxxxx>, "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
In-reply-to: <48BDE322.4030504@xxxxxxx>
References: <48BDB82E.5090901@xxxxxxxxx> <1220396598.4714.24.camel@xxxxxxxxxxxxxxxxxx> <48BDD869.5080108@xxxxxxx> <1220401450.4714.63.camel@xxxxxxxxxxxxxxxxxx> <48BDDFB1.2060807@xxxxxxxxx> <48BDE322.4030504@xxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080421)
Hi,

OK, this combination worked:

URL: http://oss.sgi.com/projects/pcp
Group: System Environment/Base
Requires: pcp >= 2.0
%if "%{_vendor}" == "suse"
Requires: libqt4 >= 4.2
Requires: libqt4-devel-doc >= 4.2
BuildRequires: libqt4-devel-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


Thanks for all your help.

doug

Mark Goodwin wrote:
Nelson, Doug wrote:
Mark/Nathan,

I tried Mark's suggestion, but it did not seem to hit the suse branch.

How can I determine what the %_vendor is set to?

grep ^%_vendor /usr/lib/rpm/macros

Maybe the right syntax is:

%if "%{_vendor}" == "suse"
...

-- Mark




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