]> git.pld-linux.org Git - packages/xcb-proto.git/commitdiff
BR: python*-modules for py_compile/compileall
authorJan Palus <atler@pld-linux.org>
Sun, 19 Jun 2022 19:51:55 +0000 (21:51 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 19 Jun 2022 19:51:55 +0000 (21:51 +0200)
xcb-proto.spec

index eca074d1df23ab20718bb1f74267fa27266418b1..9f16d8663fd6599fdca2f15b675d283d15fefd60 100644 (file)
@@ -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
This page took 0.148435 seconds and 4 git commands to generate.