[packages/python-tabulate] - disabled python3 here, release 4

qboosh qboosh at pld-linux.org
Sun Oct 26 12:30:41 CET 2025


commit 21522c167d2303905c98d284728874e79b8cc7fb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 26 12:30:30 2025 +0100

    - disabled python3 here, release 4

 python-tabulate.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-tabulate.spec b/python-tabulate.spec
index 7a2a86c..d0ba47f 100644
--- a/python-tabulate.spec
+++ b/python-tabulate.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without	python2	# CPython 2.x module
-%bcond_without	python3	# CPython 3.x module
+%bcond_with	python3	# CPython 3.x module (built from python3-tabulate.spec)
 
 %define		module		tabulate
 Summary:	Pretty-print tabular data
@@ -9,7 +9,7 @@ Summary(pl.UTF-8):	Ładne wypisywanie danych tabelarycznych
 Name:		python-%{module}
 # keep 0.8.x here for python2 support
 Version:	0.8.10
-Release:	3
+Release:	4
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/tabulate/
@@ -105,6 +105,8 @@ rm -rf $RPM_BUILD_ROOT
 %py_install
 
 %py_postclean
+
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/tabulate{,-2}
 %endif
 
 %if %{with python3}
@@ -118,9 +120,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG README.md
-%if %{without python3}
-%attr(755,root,root) %{_bindir}/tabulate
-%endif
+%attr(755,root,root) %{_bindir}/tabulate-2
 %{py_sitescriptdir}/%{module}.py[co]
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-tabulate.git/commitdiff/21522c167d2303905c98d284728874e79b8cc7fb



More information about the pld-cvs-commit mailing list