[packages/xcb-proto] BR: python*-modules for py_compile/compileall
atler
atler at pld-linux.org
Sun Jun 19 21:55:36 CEST 2022
commit 87698d4779d891a9924bccefa4f57040b2717eb9
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jun 19 21:51:55 2022 +0200
BR: python*-modules for py_compile/compileall
xcb-proto.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/xcb-proto.spec b/xcb-proto.spec
index eca074d..9f16d86 100644
--- a/xcb-proto.spec
+++ b/xcb-proto.spec
@@ -19,8 +19,14 @@ URL: https://xcb.freedesktop.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake >= 1:1.12.6
BuildRequires: libxml2-progs
-%{?with_python2:BuildRequires: python >= 1:2.5}
-%{?with_python3:BuildRequires: python3 >= 1:3.2}
+%if %{with python2}
+BuildRequires: python >= 1:2.5
+BuildRequires: python-modules >= 1:2.5
+%endif
+%if %{with python3}
+BuildRequires: python3 >= 1:3.2
+BuildRequires: python3-modules >= 1:3.2
+%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.752
BuildRequires: tar >= 1:1.22
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xcb-proto.git/commitdiff/9d993f17029428c849d520fd740188ba92ef4458
More information about the pld-cvs-commit
mailing list