remove rpath files of lt-auth and lt-listkeys
This commit is contained in:
parent
8186d3ab40
commit
afa5275a48
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user