[packages/python-pygobject3] add missing ldconfig to python3-pygobject3. bugreport from devel-en list
glen
glen at pld-linux.org
Thu Sep 13 22:20:34 CEST 2012
commit 63e1dd2ba8ede8a3e683b0f0dc3cc01d8b1552da
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Sep 13 23:20:32 2012 +0300
add missing ldconfig to python3-pygobject3. bugreport from devel-en list
python-pygobject3.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-pygobject3.spec b/python-pygobject3.spec
index b1324f7..cce5b6f 100644
--- a/python-pygobject3.spec
+++ b/python-pygobject3.spec
@@ -2,14 +2,13 @@
# Conditional build:
%bcond_without python2 # Python 2.x module
%bcond_without python3 # Python 3.x module
-#
+
%define module pygobject
-#
Summary: Python bindings for GObject library
Summary(pl.UTF-8): Wiązania Pythona do biblioteki GObject
Name: python-%{module}3
Version: 3.2.2
-Release: 1
+Release: 2
License: LGPL v2+
Group: Libraries/Python
Source0: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.2/%{module}-%{version}.tar.xz
@@ -205,6 +204,9 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post -n python3-pygobject3 -p /sbin/ldconfig
+%postun -n python3-pygobject3 -p /sbin/ldconfig
+
%if %{with python2}
%files
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pygobject3.git/commitdiff/63e1dd2ba8ede8a3e683b0f0dc3cc01d8b1552da
More information about the pld-cvs-commit
mailing list