mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-07 08:20:20 +00:00
Use boostrap.sh to build rpm on Fedora machines
Use bootstrap.sh before running configure when building an rpm. Reorder the tools in bootstrap.sh to avoid error messages. Rename configure.in to configure.ac to quite down more recent autotools. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
This commit is contained in:
parent
ea5d455718
commit
017c810393
@ -34,6 +34,7 @@ EXTRA_DIST = \
|
||||
INSTALL \
|
||||
LICENSE \
|
||||
README \
|
||||
bootstrap.sh \
|
||||
libtpms.pc.in
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
aclocal || exit 1
|
||||
libtoolize --force || exit 1
|
||||
automake || exit 1
|
||||
aclocal || exit 1
|
||||
automake --add-missing -c || exit 1
|
||||
autoconf || exit 1
|
||||
|
||||
2
dist/libtpms.spec.in
vendored
2
dist/libtpms.spec.in
vendored
@ -27,6 +27,7 @@ BuildRequires: nss-softokn-freebl-devel >= 3.12.9-2
|
||||
BuildRequires: nss-softokn-freebl-static >= 3.12.9-2
|
||||
BuildRequires: nss-softokn-devel >= 3.12.9-2, gmp-devel
|
||||
BuildRequires: pkgconfig gawk
|
||||
BuildRequires: automake autoconf libtool bash coreutils
|
||||
Requires: nss-softokn-freebl >= 3.12.9-2, nss-softokn >= 3.12.9-2
|
||||
Requires: gmp
|
||||
%endif
|
||||
@ -72,6 +73,7 @@ Libtpms header files and documentation.
|
||||
%define _enable_debug --enable-debug
|
||||
%endif
|
||||
|
||||
./bootstrap.sh
|
||||
%configure \
|
||||
--disable-static \
|
||||
--prefix=/usr \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user