[packages/python-defusedxml] macros dep for %{py,py3}_{build,install} macros

glen glen at pld-linux.org
Thu Nov 26 11:56:55 CET 2015


commit 9ad999eb3410822fa75239153b187e5319103546
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 26 12:56:48 2015 +0200

    macros dep for %{py,py3}_{build,install} macros

 python-defusedxml.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-defusedxml.spec b/python-defusedxml.spec
index 7b13948..4a16a95 100644
--- a/python-defusedxml.spec
+++ b/python-defusedxml.spec
@@ -16,12 +16,13 @@ Source0:	https://pypi.python.org/packages/source/d/defusedxml/defusedxml-%{versi
 Patch0:		python-defusedxml-entity_loop.patch
 Patch1:		python-defusedxml-format_strings.patch
 URL:		https://pypi.python.org/pypi/defusedxml
+BuildRequires:	rpmbuild(macros) >= 1.710
 %if %{with python2}
 BuildRequires:	python-setuptools
 %endif
 %if %{with python3}
-BuildRequires:	python3-setuptools
 BuildRequires:	python3-modules
+BuildRequires:	python3-setuptools
 %endif
 Requires:	python-modules
 BuildArch:	noarch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-defusedxml.git/commitdiff/9ad999eb3410822fa75239153b187e5319103546



More information about the pld-cvs-commit mailing list