update version to 3.4

This commit is contained in:
liqiuyu123 2022-11-23 18:06:39 +08:00
parent ee30726735
commit 317acf388e
3 changed files with 27 additions and 24 deletions

Binary file not shown.

BIN
idna-3.4.tar.gz Normal file

Binary file not shown.

View File

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