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 %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} || 0%{?mageia} %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} %if 0%{?mageia}
BuildRequires: lsb-release, libltdl-devel BuildRequires: lsb-release, gnupg, libltdl-devel
%else %else
BuildRequires: redhat-lsb, gpg, libtool-ltdl-devel BuildRequires: redhat-lsb, gpg, libtool-ltdl-devel
%endif %endif

Loading…
Cancel
Save