Răsfoiți Sursa

Always autogen the tree when building an RPM

Since the source tarball never includes the autogen'ed tree in the new source
repo methodology, always autogen the tree.

Signed-off-by: Steven Dake <sdake@redhat.com>
Steven Dake 15 ani în urmă
părinte
comite
d145838a21
1 a modificat fișierele cu 0 adăugiri și 7 ștergeri
  1. 0 7
      corosync.spec.in

+ 0 - 7
corosync.spec.in

@@ -27,12 +27,7 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
 
 
 # Build bits
 # Build bits
 
 
-%define buildtrunk 0
-%{?_with_buildtrunk: %define buildtrunk 1}
-
-%if %{buildtrunk}
 BuildRequires: autoconf automake
 BuildRequires: autoconf automake
-%endif
 BuildRequires: nss-devel
 BuildRequires: nss-devel
 BuildRequires: libibverbs-devel librdmacm-devel
 BuildRequires: libibverbs-devel librdmacm-devel
 
 
@@ -42,9 +37,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 %setup -q -n %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
 %setup -q -n %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
 
 
 %build
 %build
-%if %{buildtrunk}
 ./autogen.sh
 ./autogen.sh
-%endif
 
 
 export ibverbs_CFLAGS=-I/usr/include/infiniband \
 export ibverbs_CFLAGS=-I/usr/include/infiniband \
 export ibverbs_LIBS=-libverbs \
 export ibverbs_LIBS=-libverbs \