build fixes for rpm

master
Marc Wäckerlin 10 years ago
parent 23063d53e1
commit 36e20a3b69
  1. 7
      mrw-c++.spec.in

@ -7,11 +7,14 @@ Group: Development/Libraries/C++
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: subversion, automake, autoconf, doxygen, graphviz BuildRequires: subversion, automake, autoconf, doxygen, graphviz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} %if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
BuildRequires: pkgconfig, cppunit-devel, mscgen, redhat-lsb BuildRequires: pkgconfig, cppunit-devel, redhat-lsb
%else%if 0%{?suse_version} || 0%{?sles_version} %else%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: pkg-config, libcppunit-devel, lsb-release BuildRequires: pkg-config, libcppunit-devel, lsb-release
%endif%endif %endif%endif
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl}
BuildRequires: mscgen
%endif
%description %description
@README@ @README@

Loading…
Cancel
Save