"remove rpath files of lt-auth and lt-listkeys" and "add openssl to BuildRequires for make check"

This commit is contained in:
fuanan 2022-06-13 14:59:35 +08:00
parent e7ad99f0b1
commit 66c65c2711

View File

@ -1,13 +1,13 @@
Name: openssl-pkcs11
Version: 0.4.11
Release: 3
Release: 4
Summary: A PKCS#11 engine for use with OpenSSL
License: LGPLv2+ and BSD
URL: https://github.com/OpenSC/libp11
Source0: https://github.com/OpenSC/libp11/releases/download/libp11-%{version}/libp11-%{version}.tar.gz
BuildRequires: openssl-devel autoconf automake libtool
BuildRequires: softhsm opensc procps-ng p11-kit
BuildRequires: softhsm opensc procps-ng p11-kit openssl chrpath
Provides: libp11 = %{version}-%{release}
Obsoletes: libp11 < 0.4.7-4
@ -54,6 +54,8 @@ popd
%check
make check
strip %{_builddir}/libp11-%{version}/examples/.libs/lt-*
#remove rpath files
chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-*
%pre
@ -80,6 +82,10 @@ strip %{_builddir}/libp11-%{version}/examples/.libs/lt-*
%exclude %{_defaultdocdir}/libp11/*
%changelog
* Mon Jun 13 2022 fuanan <fuanan3@h-partners.com> - 0.4.11-4
- remove rpath files of lt-auth and lt-listkeys
- add openssl to BuildRequires for make check
* Tue Mar 30 2021 lirui <lirui130@huawei.com> - 0.4.11-3
- strip binary files