[pango] Fix %postun error on multilib erase (#684729).

Ville Skyttä scop at fedoraproject.org
Sat Aug 25 21:33:16 UTC 2012


commit 05908cc73311c1f6fe84a3d1068e6cb3f9805525
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Aug 26 00:33:02 2012 +0300

    Fix %postun error on multilib erase (#684729).

 pango.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/pango.spec b/pango.spec
index 1851709..2a88a85 100644
--- a/pango.spec
+++ b/pango.spec
@@ -9,7 +9,7 @@
 Summary: System for layout and rendering of internationalized text
 Name: pango
 Version: 1.31.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 #VCS: git:git://git.gnome.org/pango
@@ -174,7 +174,7 @@ host=`echo $host | sed "s/^s390\(x\)*-redhat/s390\1-ibm/"`
 %postun
 /sbin/ldconfig
 
-if test $1 -gt 0; then
+if test $1 -gt 0 && test -x %{_bindir}/pango-querymodules-%{__isa_bits}; then
 
 umask 0022
 # Deriving /etc/pango/$host location
@@ -226,6 +226,9 @@ fi
 
 
 %changelog
+* Sat Aug 25 2012 Ville Skyttä <ville.skytta at iki.fi> - 1.31.0-3
+- Fix %%postun error on multilib erase (#684729).
+
 * Wed Aug 22 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 1.31.0-2
 - Add missing BR:harfbuzz-devel 
 - Remove file pangox.aliases as pangox support is now removed


More information about the scm-commits mailing list