From d45845fa0ee87ab43c7038e6e6a23c10f070f5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Sat, 10 Dec 2016 13:35:07 +0000 Subject: [PATCH] fixed rpm builds --- 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 82acf51..dd52030 100644 --- a/mrw-c++.spec.in +++ b/mrw-c++.spec.in @@ -11,9 +11,12 @@ BuildRequires: graphviz %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} || 0%{?mageia} -BuildRequires: which, pkgconfig, cppunit-devel, rpm-sign +BuildRequires: which, pkgconfig, cppunit-devel +%if 0%{?rhel} > 6 || 0%{?rhl} > 6 || 0%{?centos} > 6 || 0%{?fedora} || 0%{?mageia} +BuildRequires: rpm-sign +%endif %if 0%{?mageia} -BuildRequires: lsb-release, libltdl-devel +BuildRequires: lsb-release, gnupg, libltdl-devel %else BuildRequires: redhat-lsb, gpg, libtool-ltdl-devel %endif