!12 remove rpath files of lt-auth and lt-listkeys

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

View File

@ -1,6 +1,6 @@
Name: openssl-pkcs11
Version: 0.4.11
Release: 4
Release: 5
Summary: A PKCS#11 engine for use with OpenSSL
License: LGPLv2+ and BSD
URL: https://github.com/OpenSC/libp11
@ -8,6 +8,7 @@ Source0: https://github.com/OpenSC/libp11/releases/download/libp11-%{vers
BuildRequires: openssl-devel autoconf automake libtool
BuildRequires: softhsm opensc procps-ng p11-kit openssl
BuildRequires: chrpath
Provides: libp11 = %{version}-%{release}
Obsoletes: libp11 < 0.4.7-4
@ -54,6 +55,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 +83,9 @@ strip %{_builddir}/libp11-%{version}/examples/.libs/lt-*
%exclude %{_defaultdocdir}/libp11/*
%changelog
* Thu Mar 24 2022 fuanan <fuanan3@h-partners.com> - 0.4.11-5
- remove rpath files of lt-auth and lt-listkeys
* Wed Jan 5 2022 Hugel <gengqihu1@huawei.com> - 0.4.11-4
- add openssl to BuildRequires for make check