commit 0c2ff711ec2c77547455fb4ad3f88438a2178e43
Author: Jakub Bogusz <[email protected]>
Date:   Mon Jan 2 21:41:33 2023 +0100

    - don't require python3-unicodedata2 on python 3.10+

 python-fonttools.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-fonttools.spec b/python-fonttools.spec
index 7392733..01806e8 100644
--- a/python-fonttools.spec
+++ b/python-fonttools.spec
@@ -37,12 +37,12 @@ BuildRequires:      python3-devel >= 1:3.4
 %if %{with tests}
 BuildRequires: python3-fs >= 2.2.0
 BuildRequires: python3-pytest >= 3.0
-%if "%{py3_ver}" < "3.7"
+%if "%{ver_lt '%{py3_ver}' '3.7'}" == "1"
 BuildRequires: python3-unicodedata2 >= 12.0.0
 %endif
 %endif
 %endif
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 1.750
 %if %{with doc}
 BuildRequires: sphinx-pdg-2 >= 1.5.5
 %endif
@@ -73,7 +73,7 @@ Summary:      Python 3 tools to manipulate font files
 Summary(pl.UTF-8):     Narzędzia do manipulacji na plikach fontów dla Pythona 3
 Group:         Libraries/Python
 Requires:      python3-modules >= 1:3.4
-%if "%{py3_ver}" < "3.7"
+%if "%{ver_lt '%{py3_ver}' '3.7'}" == "1"
 Requires:      python3-unicodedata2 >= 12.0.0
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-fonttools.git/commitdiff/0c2ff711ec2c77547455fb4ad3f88438a2178e43

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to