auto-import changelog data from zlib-1.1.4-8.src.rpm
Mon Feb 24 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-8 - fix gzprintf buffer overrun (#84961). Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.1.4-7 - rebuilt Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 1.1.4-6 - Make ./configure use $CC to ease cross-compilation Tue Nov 12 2002 Jeff Johnson <jbj@redhat.com> 1.1.4-5 - rebuild from cvs.
This commit is contained in:
parent
5cd35da13e
commit
7162249be9
25
zlib.spec
25
zlib.spec
@ -1,10 +1,12 @@
|
||||
Summary: The zlib compression and decompression library.
|
||||
Name: zlib
|
||||
Version: 1.1.4
|
||||
Release: 4
|
||||
Release: 8
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-%{version}.tar.gz
|
||||
Patch0: zlib-1.1.4-make-test.patch
|
||||
Patch1: zlib-1.1.4-use_cc.patch
|
||||
Patch2: zlib-1.1.4-vsnprintf.patch
|
||||
URL: http://www.gzip.org/zlib/
|
||||
License: BSD
|
||||
Prefix: %{_prefix}
|
||||
@ -27,21 +29,22 @@ library.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .make-test
|
||||
|
||||
%patch1 -p1 -b .use_cc
|
||||
%patch2 -p1 -b .vsnprintf
|
||||
|
||||
%build
|
||||
|
||||
CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix}
|
||||
make test
|
||||
make %{?_smp_mflags} test
|
||||
# now build the static lib
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
|
||||
make test
|
||||
make %{?_smp_mflags} test
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
|
||||
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --shared --prefix=%{_prefix}
|
||||
CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix}
|
||||
make install prefix=${RPM_BUILD_ROOT}%{_prefix}
|
||||
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
|
||||
@ -78,6 +81,18 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_mandir}/man3/zlib.3*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 24 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-8
|
||||
- fix gzprintf buffer overrun (#84961).
|
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.1.4-7
|
||||
- rebuilt
|
||||
|
||||
* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 1.1.4-6
|
||||
- Make ./configure use $CC to ease cross-compilation
|
||||
|
||||
* Tue Nov 12 2002 Jeff Johnson <jbj@redhat.com> 1.1.4-5
|
||||
- rebuild from cvs.
|
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user