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

From: @fly_fzc 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2022-06-14 08:15:46 +00:00 committed by Gitee
commit f7202e5374
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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