From bd415ffc538123a577da7a66b24014a6f7a597ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 18 Sep 2012 14:24:25 +0000 Subject: [PATCH] fedora has different package names; refs #159 --- swissbrowser.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/swissbrowser.spec.in b/swissbrowser.spec.in index 90b5fcc..88811d2 100644 --- a/swissbrowser.spec.in +++ b/swissbrowser.spec.in @@ -6,11 +6,16 @@ License: LGPL Group: Applications/Internet URL: https://dev.swisssign.com/projects/@PACKAGENAME@ Source0: %{name}-%{version}.tar.gz -BuildRequires: subversion libcppunit-devel gcc-c++ doxygen graphviz texlive automake autoconf libtool make +BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf libtool make BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Conflicts: swisssurfer Provides: swisssurfer Obsoletes: swisssurfer +%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} +BuildRequires: cppunit-devel qt-devel +%elseif 0%{?suse_version} || 0%{?sles_version} +BuildRequires: libcppunit-devel libqt4-devel +%endif %description @README@