!16 add strip secure compilation options

From: @zzm_567
Reviewed-by: @yanan-rock
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2021-09-06 03:54:39 +00:00 committed by Gitee
commit ae23a1d1ec

View File

@ -2,7 +2,7 @@
Name: giflib Name: giflib
Version: 5.2.1 Version: 5.2.1
Release: 3 Release: 4
Summary: A library and utilities for processing GIFs Summary: A library and utilities for processing GIFs
License: MIT License: MIT
URL: http://www.sourceforge.net/projects/giflib/ URL: http://www.sourceforge.net/projects/giflib/
@ -42,7 +42,7 @@ format imange files.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%make_build %make_build CFLAGS="$RPM_OPT_FLAGS -s"
%install %install
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}" %make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
@ -73,6 +73,9 @@ rm -f %{buildroot}/debugsourcefiles.list
%{_bindir}/gif* %{_bindir}/gif*
%changelog %changelog
* Sat Sep 4 2021 zhanzhimin <zhanzhimin@huawei.com> - 5.2.1-4
- strip binary files
* Thu May 20 2021 liuyumeng <liuyumeng5@huawei.com> - 5.2.1-3 * Thu May 20 2021 liuyumeng <liuyumeng5@huawei.com> - 5.2.1-3
- Add a package named utils - Add a package named utils