[packages/python-straight-plugin] Rel 2; switch to fissix

arekm arekm at pld-linux.org
Wed Apr 30 14:56:53 CEST 2025


commit 95c16d561dced96980f7494cd113124ce7b2ce18
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Apr 30 14:13:20 2025 +0200

    Rel 2; switch to fissix

 python-straight-plugin.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec
index 5fb46fe..014f5f4 100644
--- a/python-straight-plugin.spec
+++ b/python-straight-plugin.spec
@@ -7,20 +7,20 @@
 Summary:	Python plugin loader
 Name:		python-straight-plugin
 Version:	1.4.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries/Python
 Source0:	http://pypi.python.org/packages/source/s/straight.plugin/straight.plugin-%{version}%{subver}.tar.gz
 # Source0-md5:	e1a22847055f377fa4c9a99d733eb44c
 URL:		https://github.com/ironfroggy/straight.plugin/
 BuildRequires:	rpmbuild(macros) >= 1.710
-BuildRequires:	python-2to3
 BuildRequires:	python-devel
 BuildRequires:	python-modules
 BuildRequires:	python-setuptools
 BuildRequires:	rpm-pythonprov
 %if %{with python3}
 BuildRequires:	python3-devel
+BuildRequires:	python3-fissix
 BuildRequires:	python3-modules
 BuildRequires:	python3-setuptools
 %endif
@@ -63,7 +63,7 @@ mv straight.plugin-%{version}%{subver} py2
 
 %if %{with python3}
 cp -a py2 py3
-2to3 --write --nobackups py3
+%{__python3} -m fissix --write --nobackups py3
 %endif
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-straight-plugin.git/commitdiff/95c16d561dced96980f7494cd113124ce7b2ce18



More information about the pld-cvs-commit mailing list