Procházet zdrojové kódy

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 před 15 roky
rodič
revize
d145838a21
1 změnil soubory, kde provedl 0 přidání a 7 odebrání
  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
 
-%define buildtrunk 0
-%{?_with_buildtrunk: %define buildtrunk 1}
-
-%if %{buildtrunk}
 BuildRequires: autoconf automake
-%endif
 BuildRequires: nss-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}}
 
 %build
-%if %{buildtrunk}
 ./autogen.sh
-%endif
 
 export ibverbs_CFLAGS=-I/usr/include/infiniband \
 export ibverbs_LIBS=-libverbs \