Compare commits
10 Commits
73e6319886
...
b322f7ccdd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b322f7ccdd | ||
|
|
e32e9ada39 | ||
|
|
66cbd7e43c | ||
|
|
63a3da8f66 | ||
|
|
ff09e77a2b | ||
|
|
ea6704db09 | ||
|
|
edd476b391 | ||
|
|
ed3ab4e7b6 | ||
|
|
b6ae827953 | ||
|
|
ea9f7c831c |
2489
backport-CVE-2024-3651.patch
Normal file
2489
backport-CVE-2024-3651.patch
Normal file
File diff suppressed because it is too large
Load Diff
BIN
idna-3.3.tar.gz
BIN
idna-3.3.tar.gz
Binary file not shown.
BIN
idna-3.6.tar.gz
Normal file
BIN
idna-3.6.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,14 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-idna
|
||||
Version: 3.3
|
||||
Release: 2
|
||||
Version: 3.6
|
||||
Release: 4
|
||||
Summary: Internationalized Domain Names in Applications (IDNA)
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/kjd/idna
|
||||
Source0: https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz
|
||||
Source0: https://github.com/kjd/idna/archive/refs/tags/idna-3.6.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Patch6000: backport-CVE-2024-3651.patch
|
||||
|
||||
%description
|
||||
A library to support the Internationalised Domain Names in
|
||||
@ -21,9 +22,11 @@ Summary: Internationalized Domain Names in Applications (IDNA)
|
||||
Provides: python-idna = %{version}-%{release}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-flit-core pytest
|
||||
%description -n python3-idna
|
||||
A library to support the Internationalised Domain Names in
|
||||
Applications (IDNA) protocol as specified in RFC 5891
|
||||
@ -42,13 +45,13 @@ is often referred to as “IDNA2008” and can produce different
|
||||
results from the earlier standard from 2003.
|
||||
|
||||
%prep
|
||||
%autosetup -n idna-%{version}
|
||||
%autosetup -n idna-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -76,15 +79,34 @@ mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
%pytest
|
||||
|
||||
%files -n python3-idna -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
%{python3_sitelib}/idna/__pycache__/
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 14 2024 xinghe <xinghe2@h-partners.com> - 3.6-4
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:fix license
|
||||
|
||||
* Sat Apr 20 2024 zhangpan <zhangpan103@h-partners.com> - 3.6-3
|
||||
- fix CVE-2024-3651
|
||||
|
||||
* Sat Apr 20 2024 zhangpan <zhangpan103@h-partners.com> - 3.6-2
|
||||
- correct the tar package
|
||||
|
||||
* Mon Jan 15 2024 zhangpan <zhangpan103@h-partners.com> - 3.6-1
|
||||
- update to 3.6
|
||||
|
||||
* Fri Jun 30 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 3.4-1
|
||||
- Update to 3.4
|
||||
|
||||
* Tue Nov 29 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3-2
|
||||
- revent to 3.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user