build fixes for rpm

master
Marc Wäckerlin 10 years ago
parent adf22bc62b
commit b352914f9d
  1. 6
      mrw-c++.spec.in

@ -5,12 +5,12 @@ Release: 1
License: LGPL License: LGPL
Group: Development/Libraries/C++ Group: Development/Libraries/C++
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: pkg-config, subversion, automake, autoconf, lsb-release , doxygen, graphviz BuildRequires: pkg-config, subversion, automake, autoconf, doxygen, graphviz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: cppunit-devel, mscgen BuildRequires: cppunit-devel, mscgen, redhat-lsb
%else%if 0%{?suse_version} || 0%{?sles_version} %else%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: libcppunit-devel BuildRequires: libcppunit-devel, lsb-release
%endif%endif %endif%endif
%description %description

Loading…
Cancel
Save