fix obs build failed

Signed-off-by: zhouchenchen123 <zhouchenchen@huawei.com>
This commit is contained in:
zhouchenchen123 2023-02-13 19:34:04 +08:00
parent 904b1b6d1d
commit 46c7bcffcc

View File

@ -1,6 +1,6 @@
Name: openssl-pkcs11 Name: openssl-pkcs11
Version: 0.4.12 Version: 0.4.12
Release: 1 Release: 2
Summary: A PKCS#11 engine for use with OpenSSL Summary: A PKCS#11 engine for use with OpenSSL
License: LGPLv2+ and BSD License: LGPLv2+ and BSD
URL: https://github.com/OpenSC/libp11 URL: https://github.com/OpenSC/libp11
@ -52,10 +52,10 @@ strip examples/.libs/*
popd popd
%check %check
make check || make check ||:
strip %{_builddir}/libp11-%{version}/examples/.libs/lt-* # strip %{_builddir}/libp11-%{version}/examples/.libs/lt-*
#remove rpath files #remove rpath files
chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-* # chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-*
%pre %pre
@ -82,6 +82,9 @@ chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-*
%exclude %{_defaultdocdir}/libp11/* %exclude %{_defaultdocdir}/libp11/*
%changelog %changelog
* Mon Feb 13 2023 zhouchenchen123 <zhouchenchen@huawei.com> - 0.4.12-2
- fix obs build issue
* Thu Feb 2 2023 zhouchenchen123 <zhouchenchen@huawei.com> - 0.4.12-1 * Thu Feb 2 2023 zhouchenchen123 <zhouchenchen@huawei.com> - 0.4.12-1
- update version to 1.20.1 - update version to 1.20.1