!25 add debuginfo package and make ELF files stripped

From: @panxh_purple
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-03-29 17:11:43 +08:00 committed by Gitee
commit c3908595d5

View File

@ -1,15 +1,13 @@
%global debug_package %{nil}
Name: libevent Name: libevent
Version: 2.1.12 Version: 2.1.12
Release: 1 Release: 2
Summary: An event notification library Summary: An event notification library
License: BSD License: BSD
URL: http://libevent.org/ URL: http://libevent.org/
Source0: https://github.com/libevent/libevent/releases/download/release-%{version}-stable/libevent-%{version}-stable.tar.gz Source0: https://github.com/libevent/libevent/releases/download/release-%{version}-stable/libevent-%{version}-stable.tar.gz
BuildRequires: gcc doxygen openssl-devel libevent BuildRequires: gcc doxygen openssl-devel
Patch0: libevent-nonettests.patch Patch0: libevent-nonettests.patch
Patch1: http-add-callback-to-allow-server-to-decline-and-the.patch Patch1: http-add-callback-to-allow-server-to-decline-and-the.patch
@ -36,7 +34,6 @@ with %{name}.
%install %install
%make_install %make_install
cp -a %{_libdir}/libevent* %{buildroot}%{_libdir}
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%check %check
@ -71,6 +68,13 @@ make check
%changelog %changelog
* Mon Mar 29 2021 panxiaohe <panxiaohe@huawei.com> - 2.1.12-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add debuginfo package and make ELF files stripped
remove redundant ABI compatibility library
* Wed Aug 12 2020 Yeqing Peng <pengyeqing@huawei.com> - 2.1.12-1 * Wed Aug 12 2020 Yeqing Peng <pengyeqing@huawei.com> - 2.1.12-1
- update to 2.1.12 - update to 2.1.12