[packages/python-pygtk] - fix pyexecdir in .pc file; release 5

qboosh qboosh at pld-linux.org
Tue Apr 12 21:12:02 CEST 2022


commit 5ccbed2e32527d5a1de173c5d48643cd12dc2df0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 12 21:12:00 2022 +0200

    - fix pyexecdir in .pc file; release 5

 python-pygtk.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-pygtk.spec b/python-pygtk.spec
index f6ac285..4447aa4 100644
--- a/python-pygtk.spec
+++ b/python-pygtk.spec
@@ -9,7 +9,7 @@ Summary:	Python bindings for GTK+ 2.x libraries
 Summary(pl.UTF-8):	Wiązania Pythona do bibliotek GTK+ 2.x
 Name:		python-%{module}
 Version:	2.24.0
-Release:	4
+Release:	5
 Epoch:		2
 License:	LGPL v2.1+
 Group:		Libraries/Python
@@ -191,6 +191,9 @@ cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/gtk/*.py
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/pygtk/2.0/{demos,pygtk-demo*}
 
+# adjust after automake 1.16
+%{__sed} -i -e 's,\${PYTHON_EXEC_PREFIX},${prefix},' $RPM_BUILD_ROOT%{_pkgconfigdir}/pygtk-2.0.pc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygtk.git/commitdiff/5ccbed2e32527d5a1de173c5d48643cd12dc2df0



More information about the pld-cvs-commit mailing list