Compare commits
No commits in common. "b322f7ccddc4d75e3fb157adb87deaae53e180fa" and "73e6319886b3df6140df1d04fd23fa56b43079db" have entirely different histories.
b322f7ccdd
...
73e6319886
File diff suppressed because it is too large
Load Diff
BIN
idna-3.3.tar.gz
Normal file
BIN
idna-3.3.tar.gz
Normal file
Binary file not shown.
BIN
idna-3.6.tar.gz
BIN
idna-3.6.tar.gz
Binary file not shown.
@ -1,14 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-idna
|
Name: python-idna
|
||||||
Version: 3.6
|
Version: 3.3
|
||||||
Release: 4
|
Release: 2
|
||||||
Summary: Internationalized Domain Names in Applications (IDNA)
|
Summary: Internationalized Domain Names in Applications (IDNA)
|
||||||
License: BSD-3-Clause
|
License: BSD
|
||||||
URL: https://github.com/kjd/idna
|
URL: https://github.com/kjd/idna
|
||||||
Source0: https://github.com/kjd/idna/archive/refs/tags/idna-3.6.tar.gz
|
Source0: https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Patch6000: backport-CVE-2024-3651.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library to support the Internationalised Domain Names in
|
A library to support the Internationalised Domain Names in
|
||||||
@ -22,11 +21,9 @@ Summary: Internationalized Domain Names in Applications (IDNA)
|
|||||||
Provides: python-idna = %{version}-%{release}
|
Provides: python-idna = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-setuptools_scm
|
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3-flit-core pytest
|
|
||||||
%description -n python3-idna
|
%description -n python3-idna
|
||||||
A library to support the Internationalised Domain Names in
|
A library to support the Internationalised Domain Names in
|
||||||
Applications (IDNA) protocol as specified in RFC 5891
|
Applications (IDNA) protocol as specified in RFC 5891
|
||||||
@ -45,13 +42,13 @@ is often referred to as “IDNA2008” and can produce different
|
|||||||
results from the earlier standard from 2003.
|
results from the earlier standard from 2003.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n idna-%{version} -p1
|
%autosetup -n idna-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%py3_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -79,34 +76,15 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-idna -f filelist.lst
|
%files -n python3-idna -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
%{python3_sitelib}/idna/__pycache__/
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 29 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3-2
|
||||||
- revent to 3.3
|
- revent to 3.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user