Accepting request 67442 from GNOME:Next

thanks

OBS-URL: https://build.opensuse.org/request/show/67442
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pango?expand=0&rev=63
This commit is contained in:
Vincent Untz
2011-04-20 11:14:19 +00:00
committed by Git OBS Bridge
parent 0a1d44f9d0
commit 3f328300ab
7 changed files with 23 additions and 251 deletions

View File

@@ -22,9 +22,8 @@
Name: pango
License: LGPLv2.1+
Group: System/Libraries
Version: 1.28.3
Release: 5
# NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf)
Version: 1.28.4
Release: 1
Summary: Library for Layout and Rendering of Text
Source: ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.18/%{name}-%{version}.tar.bz2
Source1: README.SuSE
@@ -32,10 +31,6 @@ Source2: macros.pango
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM pango64.patch bgo129534 -- needed for biarch. Unfortunately, this is not good enough for usptream.
Patch0: pango64.patch
# PATCH-FIX-UPSTREAM pango-CVE-2011-0020.patch bnc#666101 CVE-2011-0020 vuntz@opensuse.org -- heap corruption in font parsing with FreeType2 backend
Patch1: pango-CVE-2011-0020.patch
# PATCH-FIX-UPSTREAM pango-CVE-2011-0064.patch bnc#672502 CVE-2011-0064. vuntz@opensuse.org -- handle realloc failure in the buffer
Patch2: pango-CVE-2011-0064.patch
BuildRequires: gcc-c++
BuildRequires: gtk-doc
BuildRequires: pkg-config
@@ -62,8 +57,7 @@ Summary: Library for Layout and Rendering of Text
Group: System/Libraries
Requires(post): %{name}-tools
Provides: %{name} = %{version}
# Note: we keep <= (and a rpmlint warning...) until we get a version higher than 1.28.3 (when this provides/obsoletes was introduced)
Obsoletes: %{name} <= %{version}
Obsoletes: %{name} < %{version}
# bug437293
%ifarch ppc64
Obsoletes: pango-64bit
@@ -132,8 +126,6 @@ to develop applications that require these.
cp -a %{S:1} .
%patch0 -p0
%endif
%patch1 -p1
%patch2 -p1
%build
%configure --disable-static --with-pic