1.1.13-2.rev4: drop irrelevant conditionals
(Partly adopted from another spec) Signed-off-by: Jan Pokorný <jpokorny@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
d477b83879
commit
4697ba048b
@ -2,7 +2,7 @@
|
|||||||
%global uname hacluster
|
%global uname hacluster
|
||||||
%global pcmk_docdir %{_docdir}/%{name}
|
%global pcmk_docdir %{_docdir}/%{name}
|
||||||
|
|
||||||
%global specversion 2.rev3
|
%global specversion 2.rev4
|
||||||
%global commit 6052cd16c2f455809f8088af76ce86483bf98353
|
%global commit 6052cd16c2f455809f8088af76ce86483bf98353
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
%global github_owner ClusterLabs
|
%global github_owner ClusterLabs
|
||||||
@ -67,10 +67,6 @@ Requires: %{name}-cli = %{version}-%{release}
|
|||||||
%systemd_requires
|
%systemd_requires
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel} > 0
|
|
||||||
ExclusiveArch: i686 x86_64
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Required for core functionality
|
# Required for core functionality
|
||||||
BuildRequires: automake autoconf libtool pkgconfig python libtool-ltdl-devel
|
BuildRequires: automake autoconf libtool pkgconfig python libtool-ltdl-devel
|
||||||
BuildRequires: glib2-devel libxml2-devel libxslt-devel libuuid-devel
|
BuildRequires: glib2-devel libxml2-devel libxslt-devel libuuid-devel
|
||||||
@ -85,31 +81,12 @@ Requires: libqb > 0.11.0
|
|||||||
|
|
||||||
# Enables optional functionality
|
# Enables optional functionality
|
||||||
BuildRequires: ncurses-devel openssl-devel libselinux-devel docbook-style-xsl
|
BuildRequires: ncurses-devel openssl-devel libselinux-devel docbook-style-xsl
|
||||||
BuildRequires: bison byacc flex help2man dbus-devel
|
BuildRequires: bison byacc flex help2man gnutls-devel dbus-devel
|
||||||
|
|
||||||
%if %{defined _unitdir}
|
%if %{defined _unitdir}
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1100
|
|
||||||
# Renamed since opensuse-11.0
|
|
||||||
BuildRequires: libgnutls-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: gnutls-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?fedora} > 0
|
|
||||||
%if 0%{?fedora} < 17
|
|
||||||
BuildRequires: clusterlib-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?rhel} > 0
|
|
||||||
%if 0%{?rhel} < 7
|
|
||||||
BuildRequires: clusterlib-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires: corosync
|
Requires: corosync
|
||||||
BuildRequires: corosynclib-devel
|
BuildRequires: corosynclib-devel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user