Accepting request 148498 from GNOME:Factory

- Require at least pango 3.31.1 for the post scriptlets to work.
  This helps for dist upgrades from openSUSE 12.2, where
  pango-querymodules did not yet know the --update-cache parameter.
  Depending on the (random) installation order during zypper dup,
  the post scriptlet of libpango-1_0-0 might execute
  pango-querymodules --update-cache, but not yet have the new tools
  installed yet (bnc#792646) (same change in baselibs.conf). (forwarded request 148490 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/148498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pango?expand=0&rev=75
This commit is contained in:
Stephan Kulow 2013-01-17 08:53:31 +00:00 committed by Git OBS Bridge
commit eb11564cbb
3 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,5 @@
libpango-1_0-0
requires "pango-tools-<targettype>"
requires "pango-tools-<targettype> >= 1.31.1"
provides "pango-<targettype> = <version>"
obsoletes "pango-<targettype> < <version>"
post "%if "%_lib" == "lib64""

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jan 14 18:04:57 UTC 2013 - dimstar@opensuse.org
- Require at least pango 1.31.1 for the post scriptlets to work.
This helps for dist upgrades from openSUSE 12.2, where
pango-querymodules did not yet know the --update-cache parameter.
Depending on the (random) installation order during zypper dup,
the post scriptlet of libpango-1_0-0 might execute
pango-querymodules --update-cache, but not yet have the new tools
installed yet (bnc#792646) (same change in baselibs.conf).
-------------------------------------------------------------------
Wed Dec 19 09:59:10 UTC 2012 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package pango
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -55,7 +55,8 @@ Pango forms the core of text and font handling for GTK+.
%package -n libpango-1_0-0
Summary: Library for Layout and Rendering of Text
Group: System/Libraries
Requires(post): %{name}-tools
# pango-querymodules(-64)? was first introduced the --update-cache option in 1.31.1... (bnc#792646).
Requires(post): %{name}-tools >= 1.31.1
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
# bug437293