remove rpath
This commit is contained in:
parent
2021077e48
commit
ed65f63de1
11
zziplib.spec
11
zziplib.spec
@ -1,10 +1,10 @@
|
|||||||
%define disable_rpath \
|
%define disable_rpath \
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool \
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool \
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
Name: zziplib
|
Name: zziplib
|
||||||
Version: 0.13.71
|
Version: 0.13.71
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Lightweight library for zip compression
|
Summary: Lightweight library for zip compression
|
||||||
License: LGPLv2+ or MPLv1.1
|
License: LGPLv2+ or MPLv1.1
|
||||||
URL: http://zziplib.sourceforge.net
|
URL: http://zziplib.sourceforge.net
|
||||||
@ -61,6 +61,8 @@ sed -i -e 's:docs ::g' Makefile.am
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-sdl --enable-frame-pointer --enable-builddir=_builddir
|
%configure --disable-static --enable-sdl --enable-frame-pointer --enable-builddir=_builddir
|
||||||
|
# remove rpath
|
||||||
|
%disable_rpath
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -89,6 +91,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 04 2021 shixuantong <shixuantong@huawei.com> - 0.13.71-3
|
||||||
|
- remove rpath
|
||||||
|
|
||||||
* Fri Jun 25 2021 shixuantong <shixuantong@huawei.com> - 0.13.71-2
|
* Fri Jun 25 2021 shixuantong <shixuantong@huawei.com> - 0.13.71-2
|
||||||
- fix CVE-2020-18442
|
- fix CVE-2020-18442
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user