From dfd53161a7b4c366f86f8b1e323181519462ee20 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Wed, 8 Aug 2018 09:41:14 -0400 Subject: [PATCH] buils-sys: Include autogen.sh in tarball and use for RPM build Signed-off-by: Stefan Berger --- Makefile.am | 3 ++- dist/swtpm.spec | 5 ++--- dist/swtpm.spec.in | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 53d51a1..47b091a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,4 +19,5 @@ EXTRA_DIST = \ INSTALL \ LICENSE \ COPYING \ - README + README \ + autogen.sh diff --git a/dist/swtpm.spec b/dist/swtpm.spec index 1802b64..9a8d720 100644 --- a/dist/swtpm.spec +++ b/dist/swtpm.spec @@ -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} diff --git a/dist/swtpm.spec.in b/dist/swtpm.spec.in index 41ec4b7..9a0819d 100644 --- a/dist/swtpm.spec.in +++ b/dist/swtpm.spec.in @@ -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}