Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ec55d2b7e | ||
|
|
8c0e2273ce | ||
|
|
e08196ae7d | ||
|
|
54c5881c0d | ||
|
|
b4bad83596 | ||
|
|
246c7f7110 | ||
|
|
b4d6411b40 | ||
|
|
0019aec48b | ||
|
|
b1586b1a7b | ||
|
|
411cf197e5 | ||
|
|
9965d9949c | ||
|
|
5145231968 | ||
|
|
e4cec5baab | ||
|
|
9c63215dec | ||
|
|
39b34e2c41 | ||
|
|
5448c8d699 | ||
|
|
566787137e | ||
|
|
9123810641 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,3 +2,6 @@
|
||||
/defusedxml-0.4.1.tar.gz
|
||||
/defusedxml-0.5.0.tar.gz
|
||||
/defusedxml-0.6.0.tar.gz
|
||||
/defusedxml-0.7.0rc1.tar.gz
|
||||
/defusedxml-0.7.0rc2.tar.gz
|
||||
/defusedxml-0.7.1.tar.gz
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
%global pypi_name defusedxml
|
||||
# define the license macro as doc if licensedir is not defined for
|
||||
# compatibility with EPEL
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
|
||||
%global pypi_name defusedxml
|
||||
%global base_version 0.7.1
|
||||
#global prerel ...
|
||||
%global upstream_version %{base_version}%{?prerel}
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.6.0
|
||||
Release: 1%{?dist}
|
||||
Version: %{base_version}%{?prerel:~%{prerel}}
|
||||
Release: 9%{?dist}
|
||||
Summary: XML bomb protection for Python stdlib modules
|
||||
License: Python
|
||||
URL: https://github.com/tiran/defusedxml
|
||||
Source0: %{pypi_source}
|
||||
Source0: %{pypi_source %{pypi_name} %{upstream_version}}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -25,7 +24,7 @@ module.
|
||||
|
||||
|
||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||
Summary: XML bomb protection for Python stdlib modules
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{pypi_name}
|
||||
@@ -37,7 +36,7 @@ module. This is the python%{python3_pkgversion} build.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
%autosetup -p1 -n %{pypi_name}-%{upstream_version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@@ -46,17 +45,74 @@ module. This is the python%{python3_pkgversion} build.
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python3} tests.py
|
||||
%{python3} tests.py
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||
%doc README.txt README.html CHANGES.txt
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{pypi_name}/
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info/
|
||||
%{python3_sitelib}/%{pypi_name}-%{upstream_version}-py%{python3_version}.egg-info/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7.1-8
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.1-5
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.1-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Mon May 03 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.7.1-1
|
||||
- Update to 0.7.1
|
||||
- Fixes: rhbz#1935032
|
||||
|
||||
* Wed Jan 27 2021 Miro Hrončok <mhroncok@redhat.com> - 0.7.0~rc2-1
|
||||
- Update to 0.7.0rc2
|
||||
- Fixes: rhbz#1915522
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~rc1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0~rc1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0~rc1-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Mon May 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0~rc1-1
|
||||
- Update to 0.7.0rc1
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 09 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-1
|
||||
- Update to 0.6.0 (#1699639)
|
||||
- Remove Python 2 subpackage
|
||||
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (defusedxml-0.6.0.tar.gz) = dd1313802cf8565fd319ef10af04075019d00cba557e6414b2a2762bd4302437a32c05cd8c9e4cec5310c68c6a95d2951acf1360244e7974d40bb3fe963b7226
|
||||
SHA512 (defusedxml-0.7.1.tar.gz) = 93c1e077b22a278011497f3b3f4409b5259e0077768caa121e0f078f80f39c082f3870eaaf4bad5166fe8c3b2d169ccdea62c2840ba6969240a8371cef34c4d5
|
||||
|
||||
Reference in New Issue
Block a user