build fixes for rpm

master
Marc Wäckerlin 9 years ago
parent dcb80f67c3
commit 33d7fd30a8
  1. 6
      mrw-c++.spec.in

@ -5,18 +5,18 @@ Release: @BUILD_NUMBER@%{?dist}
License: LGPL License: LGPL
Group: Development/Libraries/C++ Group: Development/Libraries/C++
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: subversion, subversion-svn2cl, automake, autoconf, doxygen BuildRequires: subversion, automake, autoconf, doxygen
%if 0%{?fedora} != 20 %if 0%{?fedora} != 20
BuildRequires: graphviz BuildRequires: graphviz
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} %if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
BuildRequires: pkgconfig, cppunit-devel, redhat-lsb BuildRequires: subversion-svn2cl, pkgconfig, cppunit-devel, redhat-lsb
%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} ) %if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} )
BuildRequires: mscgen BuildRequires: mscgen
%endif %endif
%else%if 0%{?suse_version} || 0%{?sles_version} %else%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: pkg-config, libcppunit-devel, lsb-release BuildRequires: svn2cl, pkg-config, libcppunit-devel, lsb-release
%endif%endif %endif%endif
%description %description

Loading…
Cancel
Save