From 36e20a3b699705fd2eb418e7a7e774a084cc393b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 29 Jul 2015 06:57:33 +0000 Subject: [PATCH] build fixes for rpm --- mrw-c++.spec.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mrw-c++.spec.in b/mrw-c++.spec.in index 8ecfdc4..51a40d2 100644 --- a/mrw-c++.spec.in +++ b/mrw-c++.spec.in @@ -7,11 +7,14 @@ Group: Development/Libraries/C++ Source0: %{name}-%{version}.tar.gz BuildRequires: subversion, automake, autoconf, doxygen, graphviz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} -BuildRequires: pkgconfig, cppunit-devel, mscgen, redhat-lsb +%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} +BuildRequires: pkgconfig, cppunit-devel, redhat-lsb %else%if 0%{?suse_version} || 0%{?sles_version} BuildRequires: pkg-config, libcppunit-devel, lsb-release %endif%endif +%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} +BuildRequires: mscgen +%endif %description @README@