|
@@ -13,6 +13,7 @@
|
|
|
%bcond_with rdma
|
|
%bcond_with rdma
|
|
|
%bcond_with systemd
|
|
%bcond_with systemd
|
|
|
%bcond_with xmlconf
|
|
%bcond_with xmlconf
|
|
|
|
|
+%bcond_with runautogen
|
|
|
|
|
|
|
|
%global gitver %{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}
|
|
%global gitver %{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}
|
|
|
%global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
|
%global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
|
@@ -35,14 +36,11 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
|
|
|
|
|
|
|
|
# Build bits
|
|
# Build bits
|
|
|
|
|
|
|
|
-%define buildtrunk 0
|
|
|
|
|
-%{?_with_buildtrunk: %define buildtrunk 1}
|
|
|
|
|
-
|
|
|
|
|
BuildRequires: groff
|
|
BuildRequires: groff
|
|
|
BuildRequires: libqb-devel
|
|
BuildRequires: libqb-devel
|
|
|
BuildRequires: nss-devel
|
|
BuildRequires: nss-devel
|
|
|
-%if %{buildtrunk}
|
|
|
|
|
-BuildRequires: autoconf automake
|
|
|
|
|
|
|
+%if %{with runautogen}
|
|
|
|
|
+BuildRequires: autoconf automake libtool
|
|
|
%endif
|
|
%endif
|
|
|
%if %{with monitoring}
|
|
%if %{with monitoring}
|
|
|
BuildRequires: libstatgrab-devel
|
|
BuildRequires: libstatgrab-devel
|
|
@@ -69,7 +67,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
%setup -q -n %{name}-%{version}%{?gittarver}
|
|
%setup -q -n %{name}-%{version}%{?gittarver}
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
-%if %{buildtrunk}
|
|
|
|
|
|
|
+%if %{with runautogen}
|
|
|
./autogen.sh
|
|
./autogen.sh
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|