CBL-Mariner/SPECS/python-defusedxml/python-defusedxml.spec

69 строки
2.0 KiB
Plaintext
Исходник Обычный вид История

2020-08-07 06:17:52 +03:00
Summary: XML bomb protection for Python stdlib modules
Name: python-defusedxml
Version: 0.6.0
Release: 3%{?dist}
2020-08-07 06:17:52 +03:00
License: Python
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/defusedxml
2020-08-07 06:17:52 +03:00
Source0: https://files.pythonhosted.org/packages/a4/5f/f8aa58ca0cf01cbcee728abc9d88bfeb74e95e6cb4334cfd5bed5673ea77/defusedxml-%{version}.tar.gz
BuildArch: noarch
%description
XML bomb protection for Python stdlib modules
2020-08-07 06:17:52 +03:00
%package -n python3-defusedxml
Summary: XML bomb protection for Python stdlib modules
2020-08-07 06:17:52 +03:00
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-xml
Requires: python3
Requires: python3-xml
%description -n python3-defusedxml
XML bomb protection for Python stdlib modules
2020-08-07 06:17:52 +03:00
%prep
%autosetup -n defusedxml-%{version}
2020-08-07 06:17:52 +03:00
%build
%py3_build
2020-08-07 06:17:52 +03:00
%install
%py3_install
2020-08-07 06:17:52 +03:00
%check
%python3 setup.py test
2020-08-07 06:17:52 +03:00
%files -n python3-defusedxml
%defattr(-,root,root,-)
%license LICENSE
2020-08-07 06:17:52 +03:00
%{python3_sitelib}/*
%changelog
* Wed Oct 20 2021 Thomas Crain <thcrain@microsoft.com> - 0.6.0-3
- Add license to python3 package
- Remove python2 package
- Lint spec
- License verified
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 0.6.0-2
2020-08-07 06:17:52 +03:00
- Added %%license line automatically
* Wed Mar 18 2020 Henry Beberman <henry.beberman@microsoft.com> - 0.6.0-1
- Update to 0.6.0. License fixed.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 0.5.0-4
- Initial CBL-Mariner import from Photon (license: Apache2).
* Tue Aug 01 2017 Xiaolin Li <xiaolinl@vmware.com> - 0.5.0-3
- Added python-xml to requires of python-defusedxml.
- Added python3-xml to requires of python3-defusedxml.
* Wed Jun 07 2017 Xiaolin Li <xiaolinl@vmware.com> - 0.5.0-2
- Add python3-setuptools and python3-xml to python3 sub package Buildrequires.
* Thu Mar 09 2017 Xiaolin Li <xiaolinl@vmware.com> - 0.5.0-1
- Initial packaging for Photon