!21 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:05:11 +08:00 committed by Gitee
commit 3f1019286a

View File

@ -1,15 +1,13 @@
%global debug_package %{nil}
Name: libevent Name: libevent
Version: 2.1.12 Version: 2.1.12
Release: 2 Release: 3
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 -j8 check
%changelog %changelog
* Mon Mar 29 2021 panxiaohe <panxiaohe@huawei.com> - 2.1.12-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add debuginfo package and make ELF files stripped
remove redundant ABI compatibility library
* Thu Mar 18 2021 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 2.1.12-2 * Thu Mar 18 2021 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 2.1.12-2
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA