python-defusedxml 0.6.0-2 (aarch64;i686;x86_64;armv7hnl) 2019-8978
9999

Status published
Submitter nobodydead [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/642450
Packages
python2-defusedxml-0.6.0-2.aarch64.binary
python-defusedxml-0.6.0-2.aarch64.binary
python-defusedxml-0.6.0-2.aarch64.source
python2-defusedxml-0.6.0-2.i686.binary
python-defusedxml-0.6.0-2.i686.binary
python-defusedxml-0.6.0-2.i686.source
python2-defusedxml-0.6.0-2.x86_64.binary
python-defusedxml-0.6.0-2.x86_64.binary
python-defusedxml-0.6.0-2.x86_64.source
python2-defusedxml-0.6.0-2.armv7hnl.binary
python-defusedxml-0.6.0-2.armv7hnl.source
python-defusedxml-0.6.0-2.armv7hnl.binary
Build Date 2019-11-09 01:51:17 +0000 UTC
Last Updated 2019-11-09 18:40:33.152708705 +0000 UTC
$ git diff --patch-with-stat --summary afdf8589e9c525132c9c1e1116d638eacd01619b..f97ff56876ac0e654b8a1d22c7c17b5cfac5d1d3

 python-defusedxml.spec | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/python-defusedxml.spec b/python-defusedxml.spec
index 5f39edd..70a49fc 100644
--- a/python-defusedxml.spec
+++ b/python-defusedxml.spec
@@ -2,7 +2,7 @@
 
 Name:		python-%{modulename}
 Version:	0.6.0
-Release:	1
+Release:	2
 Summary:	XML bomb protection for Python stdlib modules
 Group:		Development/Python
 License:	Apache License
@@ -11,6 +11,9 @@ Source0:	https://files.pythonhosted.org/packages/source/d/defusedxml/defusedxml-
 BuildArch:	noarch
 BuildRequires:	python-setuptools
 BuildRequires:	python-devel
+BuildRequires:  python2-devel	 	 
+BuildRequires:  pythonegg(setuptools)		 
+ 
 #BuildRequires:	twill
 
 %description
@@ -20,19 +23,36 @@ to benefit from the protection you just have to import and use the listed
 functions / classes from the right defusedxml module instead of the original
 module.
 
+%package -n python2-%{modulename}	 
+Summary:        XML bomb protection for Python stdlib modules	 
+%{?python_provide:%python_provide python2-%{pypi_name}}	 
+	 
+%description -n python2-%{modulename}
+The defusedxml package contains several Python-only workarounds and fixes for	 
+denial of service and other vulnerabilities in Python's XML libraries. In order	 
+to benefit from the protection you just have to import and use the listed	 
+functions / classes from the right defusedxml module instead of the original	 
+module. This is the Python 2 build.
+
 %prep
 %autosetup -n %{modulename}-%{version} -p1
 
 %build
 %py_build
+%py2_build
 
 %check
 #python admin/runtests
 
 %install
-python setup.py install \
-	--skip-build --root %{buildroot} --record=INSTALLED_FILES
+%py_install
+%py2_install
 
 %files
 %doc CHANGES.txt LICENSE README.txt
 %{py_puresitedir}/*
+
+%files -n python2-%{modulename} 
+%doc README.txt README.html CHANGES.txt	 
+%license LICENSE
+%{py2_puresitedir}/*
Not Available

benbullard79 [@T] cox.netNo Comment.1628d 11hrs
benbullard79 [@T] cox.netNo Comment.1628d 11hrs