!7 strip binary files
From: @liquor1 Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
e7ad99f0b1
@ -1,6 +1,6 @@
|
|||||||
Name: openssl-pkcs11
|
Name: openssl-pkcs11
|
||||||
Version: 0.4.11
|
Version: 0.4.11
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
||||||
@ -45,16 +45,15 @@ mkdir -p %{buildroot}%{_libdir}/engines-1.1
|
|||||||
%make_install
|
%make_install
|
||||||
%delete_la
|
%delete_la
|
||||||
|
|
||||||
%check
|
|
||||||
make check
|
|
||||||
|
|
||||||
#strip binary files
|
#strip binary files
|
||||||
pushd %{_builddir}/libp11-%{version}
|
pushd %{_builddir}/libp11-%{version}
|
||||||
find src/.libs -type f -name '*.so*' -exec strip '{}' ';'
|
find src/.libs -type f -name '*.so*' -exec strip '{}' ';'
|
||||||
find examples -type f -name '*.o' -exec strip '{}' ';'
|
|
||||||
strip examples/.libs/*
|
strip examples/.libs/*
|
||||||
popd
|
popd
|
||||||
strip %{buildroot}%{_libdir}/*.a
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
strip %{_builddir}/libp11-%{version}/examples/.libs/lt-*
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
@ -81,6 +80,9 @@ strip %{buildroot}%{_libdir}/*.a
|
|||||||
%exclude %{_defaultdocdir}/libp11/*
|
%exclude %{_defaultdocdir}/libp11/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 30 2021 lirui <lirui130@huawei.com> - 0.4.11-3
|
||||||
|
- strip binary files
|
||||||
|
|
||||||
* Tue Mar 30 2021 panxiaohe <panxiaohe@huawei.com> - 0.4.11-2
|
* Tue Mar 30 2021 panxiaohe <panxiaohe@huawei.com> - 0.4.11-2
|
||||||
- strip binary files
|
- strip binary files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user