strip binary files
This commit is contained in:
parent
7252f25441
commit
83903d3dd9
@ -1,6 +1,6 @@
|
|||||||
Name: openssl-pkcs11
|
Name: openssl-pkcs11
|
||||||
Version: 0.4.11
|
Version: 0.4.11
|
||||||
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
|
||||||
@ -48,6 +48,14 @@ mkdir -p %{buildroot}%{_libdir}/engines-1.1
|
|||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
#strip binary files
|
||||||
|
pushd %{_builddir}/libp11-%{version}
|
||||||
|
find src/.libs -type f -name '*.so*' -exec strip '{}' ';'
|
||||||
|
find examples -type f -name '*.o' -exec strip '{}' ';'
|
||||||
|
strip examples/.libs/*
|
||||||
|
popd
|
||||||
|
strip %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -73,6 +81,9 @@ make check
|
|||||||
%exclude %{_defaultdocdir}/libp11/*
|
%exclude %{_defaultdocdir}/libp11/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 30 2021 panxiaohe <panxiaohe@huawei.com> - 0.4.11-2
|
||||||
|
- strip binary files
|
||||||
|
|
||||||
* Sat Jan 23 2021 zoulin <zoulin13@huawei.com> - 0.4.11-1
|
* Sat Jan 23 2021 zoulin <zoulin13@huawei.com> - 0.4.11-1
|
||||||
- update version to 0.4.11
|
- update version to 0.4.11
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user