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 831478a..c16d91e 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -1,12 +1,14 @@ %global _empty_manifest_terminate_build 0 -Name: python-idna -Version: 3.3 -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 -BuildArch: noarch +Name: python-idna +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/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz +BuildArch: noarch + + %description A library to support the Internationalised Domain Names in Applications (IDNA) protocol as specified in RFC 5891 @@ -15,14 +17,13 @@ is often referred to as “IDNA2008” and can produce different results from the earlier standard from 2003. %package -n python3-idna -Summary: Internationalized Domain Names in Applications (IDNA) -Provides: python-idna -# Base build requires -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel +Summary: Internationalized Domain Names in Applications (IDNA) +Provides: python-idna = %{version}-%{release} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel %description -n python3-idna A library to support the Internationalised Domain Names in Applications (IDNA) protocol as specified in RFC 5891 @@ -31,8 +32,8 @@ is often referred to as “IDNA2008” and can produce different results from the earlier standard from 2003. %package help -Summary: Internationalized Domain Names in Applications (IDNA) -Provides: python3-idna-doc +Summary: Development documents and examples for idna +Provides: python3-idna-doc %description help A library to support the Internationalised Domain Names in Applications (IDNA) protocol as specified in RFC 5891 @@ -48,7 +49,6 @@ results from the earlier standard from 2003. %install %py3_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 @@ -56,20 +56,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -85,6 +85,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Nov 23 2022 liqiuyu - 3.4-1 +- Update package to version 3.4 + * Tue May 24 2022 renliang - 3.3-1 - Upgrade package python3-idna to version 3.3