- recompiled with -Wl,-z,relro flags
This commit is contained in:
parent
679d495f9c
commit
b718fe7fd1
13
zlib.spec
13
zlib.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The zlib compression and decompression library
|
Summary: The zlib compression and decompression library
|
||||||
Name: zlib
|
Name: zlib
|
||||||
Version: 1.2.7
|
Version: 1.2.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://www.zlib.net/zlib-%{version}.tar.bz2
|
Source: http://www.zlib.net/zlib-%{version}.tar.bz2
|
||||||
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
|
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
|
||||||
@ -61,14 +61,14 @@ iconv -f windows-1252 -t utf-8 <ChangeLog >ChangeLog.tmp
|
|||||||
mv ChangeLog.tmp ChangeLog
|
mv ChangeLog.tmp ChangeLog
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS=$RPM_OPT_FLAGS ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
|
export LDFLAGS="$LDFLAGS -Wl,-z,relro"
|
||||||
|
export CFLAGS=$RPM_OPT_FLAGS
|
||||||
|
./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
cd contrib/minizip
|
cd contrib/minizip
|
||||||
autoreconf --install
|
autoreconf --install
|
||||||
%configure --enable-static=no CPPFLAGS="-I/$RPM_BUILD_DIR/%{name}-%{version}-%{release}"
|
%configure --enable-static=no
|
||||||
LDFLAGS="-L/$RPM_BUILD_DIR/%{name}-%{version}-%{release}"
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -133,6 +133,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/pkgconfig/minizip.pc
|
%{_libdir}/pkgconfig/minizip.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 11 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-2
|
||||||
|
- recompiled with -Wl,-z,relro flags
|
||||||
|
|
||||||
* Thu May 10 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-1
|
* Thu May 10 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-1
|
||||||
- resolves: #785726
|
- resolves: #785726
|
||||||
- resolves: #805874
|
- resolves: #805874
|
||||||
|
Loading…
Reference in New Issue
Block a user