fix rpmbuild error
(cherry picked from commit cbfc25510856b264c833c87f5e3fe4699e65d351)
This commit is contained in:
parent
36b76a671b
commit
b1d970d1fb
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: giflib
|
Name: giflib
|
||||||
Version: 5.2.1
|
Version: 5.2.1
|
||||||
Release: 5
|
Release: 6
|
||||||
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/
|
||||||
@ -43,7 +43,7 @@ format imange files.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build CFLAGS="$RPM_OPT_FLAGS -s"
|
%make_build CFLAGS="$RPM_OPT_FLAGS -s -fPIC"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
|
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
|
||||||
@ -74,6 +74,9 @@ rm -f %{buildroot}/debugsourcefiles.list
|
|||||||
%{_bindir}/gif*
|
%{_bindir}/gif*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 15 2022 duyiwei <duyiwei@kylinos.cn> - 5.2.1-5
|
||||||
- fix CVE-2022-28506
|
- fix CVE-2022-28506
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user