[packages/subversion] - force swig regeneration, fixes python3 swig module
qboosh
qboosh at pld-linux.org
Thu Jul 4 21:07:51 CEST 2024
commit aa1ccc49eaf0ffa816fa55c96f1f1db5e7e75afe
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jul 4 20:57:26 2024 +0200
- force swig regeneration, fixes python3 swig module
subversion.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/subversion.spec b/subversion.spec
index f26331e..a42e83f 100644
--- a/subversion.spec
+++ b/subversion.spec
@@ -516,10 +516,13 @@ uwierzytelniać się przy użyciu Portfela KDE.
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' tools/backup/hot-backup.py.in
+# force swig regeneration
+touch build/generator/swig/*.py
+
%build
# FIXME: don't hide autotools invocation
# (but this script could do more, e.g. swig regeneration)
-chmod +x ./autogen.sh && ./autogen.sh
+chmod +x ./autogen.sh && ./autogen.sh --release
%if %{with python2}
install -d builddir-python2
cd builddir-python2
@@ -626,7 +629,7 @@ cd builddir
%if %{with python3}
%if %{with csvn}
# Python ctypes bindings
-%{__make} ctypes-python
+%{__make} -j1 ctypes-python
%endif
%if %{with swigpy}
# Python swig bindings
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/subversion.git/commitdiff/aa1ccc49eaf0ffa816fa55c96f1f1db5e7e75afe
More information about the pld-cvs-commit
mailing list