fixed rpm builds

master
Marc Wäckerlin 8 years ago
parent 82fb3ea7b8
commit d45845fa0e
  1. 7
      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

Loading…
Cancel
Save