SHA256
1
0
forked from pool/zlib

Accepting request 175521 from devel:libraries:c_c++

- Update to version 1.2.8
  * Add new inflateGetDictionary() function
  * Fix bug where gzopen() immediately followed by gzclose()
    would write an empty file instead of an empty gzip stream.
  * Fix bug in gzclose() when gzwrite() runs out of memory

OBS-URL: https://build.opensuse.org/request/show/175521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=53
This commit is contained in:
Stephan Kulow 2013-05-16 09:45:06 +00:00 committed by Git OBS Bridge
commit 110bf2d81e
5 changed files with 16 additions and 8 deletions

View File

@ -1,6 +1,6 @@
libz1 libz1
targettype x86 provides "baselibs-x86:<prefix>/lib/libz.so.1" targettype x86 provides "baselibs-x86:<prefix>/lib/libz.so.1"
provides "zlib-<targettype> = <version>" provides "zlib-<targettype> = <version>"
obsoletes "zlib-<targettype> <= 1.2.7" obsoletes "zlib-<targettype> <= 1.2.8"
zlib-devel zlib-devel
zlib-devel-static zlib-devel-static

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934
size 505085

3
zlib-1.2.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
size 571091

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat May 11 11:51:40 UTC 2013 - idonmez@suse.com
- Update to version 1.2.8
* Add new inflateGetDictionary() function
* Fix bug where gzopen() immediately followed by gzclose()
would write an empty file instead of an empty gzip stream.
* Fix bug in gzclose() when gzwrite() runs out of memory
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 10:00:58 UTC 2013 - mvyskocil@suse.com Tue Mar 5 10:00:58 UTC 2013 - mvyskocil@suse.com

View File

@ -19,21 +19,19 @@
%bcond_with profiling %bcond_with profiling
Name: zlib Name: zlib
Version: 1.2.7 Version: 1.2.8
Release: 0 Release: 0
Summary: Data Compression Library Summary: Data Compression Library
License: Zlib License: Zlib
Group: System/Libraries Group: System/Libraries
Url: http://www.zlib.net/ Url: http://www.zlib.net/
Source0: http://zlib.net/zlib-%{version}.tar.bz2 Source0: http://zlib.net/zlib-%{version}.tar.gz
Source1: LICENSE Source1: LICENSE
Source2: baselibs.conf Source2: baselibs.conf
Source3: zlib-rpmlintrc Source3: zlib-rpmlintrc
#PATCH-FIX-SUSE: fate#314093, sent upstream by IBM #PATCH-FIX-SUSE: fate#314093, sent upstream by IBM
Patch0: zlib-1.2.7-improve-longest_match-performance.patch Patch0: zlib-1.2.7-improve-longest_match-performance.patch
BuildRequires: pkgconfig BuildRequires: pkgconfig
#!BuildIgnore: rpmlint-Factory
#!BuildIgnore: post-build-checks
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
@ -100,6 +98,7 @@ libraries.
%build %build
export LDFLAGS="-Wl,-z,relro,-z,now" export LDFLAGS="-Wl,-z,relro,-z,now"
# Marcus: breaks example64 in 32bit builds, so it's disabled by default # Marcus: breaks example64 in 32bit builds, so it's disabled by default
%if %{with profiling} %if %{with profiling}
profiledir=$(mktemp -d) profiledir=$(mktemp -d)