fixed rpm builds
This commit is contained 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
|
||||||
|
Reference in New Issue
Block a user