tested on fedora, centos, opensuse and ubuntu

This commit is contained in:
Marc Wäckerlin
2016-12-07 19:28:11 +00:00
parent 6cd6875e49
commit fc92d9e8ac
6 changed files with 27 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ BuildRequires: graphviz
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
BuildRequires: which, pkgconfig, cppunit-devel, redhat-lsb, libtool-ltdl
BuildRequires: which, pkgconfig, cppunit-devel, redhat-lsb, libtool-ltdl-devel
%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} )
BuildRequires: mscgen
%endif