[packages/python-xmlschema] - disable python3 here

qboosh qboosh at pld-linux.org
Fri Sep 18 21:48:06 CEST 2020


commit 2cad339a51980ab954bdb2781bdc5204f20f836a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Sep 18 21:50:54 2020 +0200

    - disable python3 here

 python-xmlschema.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-xmlschema.spec b/python-xmlschema.spec
index 2083c39..80dd1ac 100644
--- a/python-xmlschema.spec
+++ b/python-xmlschema.spec
@@ -1,13 +1,15 @@
+# NOTE: for versions >= 1.1.0 (for python 3.5+) see python3-xmlschema.spec
 #
 # Conditional build:
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-xmlschema.spec)
 
 Summary:	XML Schema validator and decoder
 Summary(pl.UTF-8):	Biblioteka do sprawdzania poprawności i dekodowania schematów XML
 Name:		python-xmlschema
+# keep 1.0.x here for python2 support
 Version:	1.0.18
 Release:	1
 License:	MIT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-xmlschema.git/commitdiff/2cad339a51980ab954bdb2781bdc5204f20f836a



More information about the pld-cvs-commit mailing list