Просмотр исходного кода

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 лет назад
Родитель
Сommit
d145838a21
1 измененных файлов с 0 добавлено и 7 удалено
  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 \