tested on mageia 5 :)

This commit is contained in:
Marc Wäckerlin
2016-12-07 20:21:54 +00:00
parent fc92d9e8ac
commit 8080633f5d
3 changed files with 12 additions and 7 deletions

View File

@@ -10,8 +10,13 @@ BuildRequires: rpm-build, subversion, automake, autoconf, doxygen, java-openjdk,
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-devel
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} || 0%{?mageia}
BuildRequires: which, pkgconfig, cppunit-devel
%if 0%{?mageia}
BuildRequires: lsb-release, libltdl-devel
%else
BuildRequires: redhat-lsb, libtool-ltdl-devel
%endif
%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} )
BuildRequires: mscgen
%endif