[packages/python-pyxmpp2] Rel 11; fix build
arekm
arekm at pld-linux.org
Mon Jul 8 14:30:07 CEST 2024
commit cb09fb03ddddd0edb5ee8c02623cdfa6d4eeed35
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 8 13:41:59 2024 +0200
Rel 11; fix build
python-pyxmpp2.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-pyxmpp2.spec b/python-pyxmpp2.spec
index 3e1affe..d44b2e0 100644
--- a/python-pyxmpp2.spec
+++ b/python-pyxmpp2.spec
@@ -10,7 +10,7 @@
Summary: XMPP implementation for Python
Name: python-%{pypi_name}
Version: 2.0.1
-Release: 10
+Release: 11
License: LGPL v2.1+
Group: Libraries/Python
#Source0: https://github.com/Jajcus/pyxmpp2/releases/download/2.0.1/pyxmpp2-2.0.1.tar.gz
@@ -74,6 +74,8 @@ Dokumentacja API modułu Pythona %{module}.
%patch1 -p1
%patch2 -p1
+find . -type f -exec sed -i 's|^#![[:space:]]*/usr/bin/python\(\S*\)|#!/usr/bin/python2\1|' "{}" ";"
+
install -d orgsrc
mv !(orgsrc) orgsrc
%if %{with python2}
@@ -106,7 +108,7 @@ cd ..
%if %{with doc}
cd orgsrc/doc
-%{__make}
+%{__make} PYTHON="%{__python}"
cd ..
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyxmpp2.git/commitdiff/cb09fb03ddddd0edb5ee8c02623cdfa6d4eeed35
More information about the pld-cvs-commit
mailing list