update version to 3.4
This commit is contained in:
parent
ee30726735
commit
317acf388e
BIN
idna-3.3.tar.gz
BIN
idna-3.3.tar.gz
Binary file not shown.
BIN
idna-3.4.tar.gz
Normal file
BIN
idna-3.4.tar.gz
Normal file
Binary file not shown.
@ -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 <liqiuyu@kylinos.cn> - 3.4-1
|
||||
- Update package to version 3.4
|
||||
|
||||
* Tue May 24 2022 renliang <renliang@uniontech.com> - 3.3-1
|
||||
- Upgrade package python3-idna to version 3.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user