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
|