fedora has different package names; refs #159

master
Marc Wäckerlin 12 years ago
parent c2950b10e5
commit bd415ffc53
  1. 7
      swissbrowser.spec.in

@ -6,11 +6,16 @@ License: LGPL
Group: Applications/Internet Group: Applications/Internet
URL: https://dev.swisssign.com/projects/@PACKAGENAME@ URL: https://dev.swisssign.com/projects/@PACKAGENAME@
Source0: %{name}-%{version}.tar.gz 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Conflicts: swisssurfer Conflicts: swisssurfer
Provides: swisssurfer Provides: swisssurfer
Obsoletes: 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 %description
@README@ @README@

Loading…
Cancel
Save