[packages/python-pyparsing] without setuptools bcond added
jajcus
jajcus at pld-linux.org
Mon Jul 30 10:20:26 CEST 2018
commit f788c3eb2edb25878aa9425afd1cc705ee40d93e
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Mon Jul 30 10:20:03 2018 +0200
without setuptools bcond added
for setuptools bootstraping
python-pyparsing.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-pyparsing.spec b/python-pyparsing.spec
index 9a65da9..945a65a 100644
--- a/python-pyparsing.spec
+++ b/python-pyparsing.spec
@@ -2,6 +2,7 @@
# Conditional build:
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
+%bcond_without setuptools # build without setuptools (for bootstraping)
%define module pyparsing
Summary: pyparsing - a Python module for creating executing simple grammars
@@ -19,12 +20,12 @@ BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
BuildRequires: python-devel >= 1:2.6
BuildRequires: python-modules >= 1:2.6
-BuildRequires: python-setuptools
+%{?with_setuptools:BuildRequires: python-setuptools}
%endif
%if %{with python3}
BuildRequires: python3-devel >= 1:3.3
BuildRequires: python3-modules >= 1:3.3
-BuildRequires: python3-setuptools
+%{?with_setuptools:BuildRequires: python3-setuptools}
%endif
Requires: python-libs
BuildArch: noarch
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyparsing.git/commitdiff/f788c3eb2edb25878aa9425afd1cc705ee40d93e
More information about the pld-cvs-commit
mailing list