buils-sys: Include autogen.sh in tarball and use for RPM build

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
Stefan Berger 2018-08-08 09:41:14 -04:00
parent 611a198637
commit dfd53161a7
3 changed files with 6 additions and 7 deletions

View File

@ -19,4 +19,5 @@ EXTRA_DIST = \
INSTALL \
LICENSE \
COPYING \
README
README \
autogen.sh

5
dist/swtpm.spec vendored
View File

@ -131,11 +131,10 @@ Tools for the TPM emulator from the swtpm package
%build
./bootstrap.sh
NOCONFIGURE=1 ./autogen.sh
%configure \
--prefix=/usr \
%if %{with_gnutls}
--with-gnutls \
--with-gnutls
%endif
make %{?_smp_mflags}

5
dist/swtpm.spec.in vendored
View File

@ -131,11 +131,10 @@ Tools for the TPM emulator from the swtpm package
%build
./bootstrap.sh
NOCONFIGURE=1 ./autogen.sh
%configure \
--prefix=/usr \
%if %{with_gnutls}
--with-gnutls \
--with-gnutls
%endif
make %{?_smp_mflags}