Преглед изворни кода

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 година
родитељ
комит
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 \