update to version 4.3

This commit is contained in:
li-miaomiao_zhr 2023-06-30 14:46:26 +08:00
parent 73e6319886
commit ea9f7c831c
3 changed files with 11 additions and 5 deletions

Binary file not shown.

BIN
idna-3.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-idna Name: python-idna
Version: 3.3 Version: 3.4
Release: 2 Release: 1
Summary: Internationalized Domain Names in Applications (IDNA) Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD License: BSD
URL: https://github.com/kjd/idna 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.4.tar.gz
BuildArch: noarch BuildArch: noarch
@ -21,9 +21,11 @@ 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
%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,10 +47,10 @@ results from the earlier standard from 2003.
%autosetup -n idna-%{version} %autosetup -n idna-%{version}
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_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
@ -80,11 +82,15 @@ mv %{buildroot}/doclist.lst .
%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 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