[packages/python-linux-procfs] - disable python3 here

qboosh qboosh at pld-linux.org
Mon Jan 16 18:14:57 CET 2023


commit a36eb55755183e4b9de850eee1c50d46dade43d7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 16 18:16:08 2023 +0100

    - disable python3 here

 python-linux-procfs.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec
index 280d0fe..d36099e 100644
--- a/python-linux-procfs.spec
+++ b/python-linux-procfs.spec
@@ -1,11 +1,12 @@
 #
 # 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-linux-procfs.spec)
 
 Summary:	Linux /proc abstraction classes for Python 2
 Summary(pl.UTF-8):	Klasy abstrakcji linuksowego /proc dla Pythona 2
 Name:		python-linux-procfs
+# keep 0.7.0 here for python2 support (0.7.1 uses f-strings, thus requires 3.6+)
 Version:	0.7.0
 Release:	5
 License:	GPL v2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-linux-procfs.git/commitdiff/a36eb55755183e4b9de850eee1c50d46dade43d7



More information about the pld-cvs-commit mailing list