Run autogen.sh with NOCONFIGURE=1 set, which solves pkg dependency problem
Run autogen.sh with NOCONFIGURE=1 set and then call %configure with the appropriate parameters. This way we do not run into freebl dependency problems due to autogen.sh being run without options, which would cause freebl to be chosen as the crypto library. So upstream code is ok, except that maybe the openssl library should be the default crypto library. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
dec9ed33e9
commit
3086519ced
@ -14,8 +14,6 @@ Source0: libtpms-%{gitdate}.tar.xz
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkgconfig gawk sed
|
BuildRequires: pkgconfig gawk sed
|
||||||
BuildRequires: automake autoconf libtool bash coreutils
|
BuildRequires: automake autoconf libtool bash coreutils
|
||||||
# need to fix upstream configure.ac not not need the following if openssl is used
|
|
||||||
BuildRequires: gmp-devel nspr-devel nss-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library providing TPM functionality for VMs. Targeted for integration
|
A library providing TPM functionality for VMs. Targeted for integration
|
||||||
@ -32,7 +30,7 @@ Libtpms header files and documentation.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{gitdate}
|
%setup -q -n %{name}-%{gitdate}
|
||||||
%build
|
%build
|
||||||
sh autogen.sh
|
NOCONFIGURE=1 sh autogen.sh
|
||||||
%configure --disable-static --with-tpm2 --with-openssl
|
%configure --disable-static --with-tpm2 --with-openssl
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libtpms.spec) = 407e574882aab3a95ccec95d8cbd5094f24f4235eabf778740555159ad45c826221f98b488133b954604e766431629ff16f38003393ba62c754a4d9b76c402ed
|
SHA512 (libtpms.spec) = 31d8be1bbd20664ad9901209482cbeaa54af314010a114a4b2223da6c57d1810db2b6c8d1cea5db3db60edb137d77b7628544dfaa3f85940b419593b66d2d7dc
|
||||||
|
Loading…
Reference in New Issue
Block a user