]> git.proxmox.com Git - swtpm.git/commitdiff
buils-sys: Include autogen.sh in tarball and use for RPM build
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 8 Aug 2018 13:41:14 +0000 (09:41 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 8 Aug 2018 14:29:19 +0000 (10:29 -0400)
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Makefile.am
dist/swtpm.spec
dist/swtpm.spec.in

index 53d51a1f7f670bbb5db1e7b87834b22d72442749..47b091ad9a262a659c9b70223ea4c214a4ce04e8 100644 (file)
@@ -19,4 +19,5 @@ EXTRA_DIST = \
        INSTALL \
        LICENSE \
        COPYING \
-       README
+       README \
+       autogen.sh
index 1802b64ec7f8717aefad3751032946bd045f64c1..9a8d720fccfc0f419d5f21c43cacf9f92cc4f407 100644 (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}
index 41ec4b7151c92c31771a8a69b4c1f9d3eb42ee15..9a0819d1494650bc7a73838fddbcfbb46bfda15c 100644 (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}