diff --git a/idna-3.3.tar.gz b/idna-3.3.tar.gz deleted file mode 100644 index ff2bcbf..0000000 Binary files a/idna-3.3.tar.gz and /dev/null differ diff --git a/idna-3.4.tar.gz b/idna-3.4.tar.gz new file mode 100644 index 0000000..dd21366 Binary files /dev/null and b/idna-3.4.tar.gz differ diff --git a/python-idna.spec b/python-idna.spec index ff82028..3f3d380 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-idna -Version: 3.3 -Release: 2 +Version: 3.4 +Release: 1 Summary: Internationalized Domain Names in Applications (IDNA) License: BSD 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 @@ -21,9 +21,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 %description -n python3-idna A library to support the Internationalised Domain Names in Applications (IDNA) protocol as specified in RFC 5891 @@ -45,10 +47,10 @@ results from the earlier standard from 2003. %autosetup -n idna-%{version} %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 @@ -80,11 +82,15 @@ mv %{buildroot}/doclist.lst . %files -n python3-idna -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/idna/__pycache__/ %files help -f doclist.lst %{_docdir}/* %changelog +* Fri Jun 30 2023 li-miaomiao_zhr - 3.4-1 +- Update to 3.4 + * Tue Nov 29 2022 zhouwenpei - 3.3-2 - revent to 3.3