!24 [sync] PR-22: 修复自编译失败

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-12-05 01:13:42 +00:00 committed by Gitee
commit eebe8de150
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: giflib
Version: 5.2.1
Release: 5
Release: 6
Summary: A library and utilities for processing GIFs
License: MIT
URL: http://www.sourceforge.net/projects/giflib/
@ -43,7 +43,7 @@ format imange files.
%autosetup -n %{name}-%{version} -p1
%build
%make_build CFLAGS="$RPM_OPT_FLAGS -s"
%make_build CFLAGS="$RPM_OPT_FLAGS -s -fPIC"
%install
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
@ -74,6 +74,9 @@ rm -f %{buildroot}/debugsourcefiles.list
%{_bindir}/gif*
%changelog
* Thu Aug 25 2022 caodongxia <caodongxia@h-partners.com> -5.2.1-6
- Fix rpmbuild error
* Wed Jun 15 2022 duyiwei <duyiwei@kylinos.cn> - 5.2.1-5
- fix CVE-2022-28506