diff --git a/idna-3.3.tar.gz b/idna-3.3.tar.gz deleted file mode 100644 index f1537bf3ace16a0afb7a550838cfddf7f830aaa8..0000000000000000000000000000000000000000 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 0000000000000000000000000000000000000000..dd21366347b91c354b9159a23a2ca2847a0326dc Binary files /dev/null and b/idna-3.4.tar.gz differ diff --git a/python-idna.spec b/python-idna.spec index 56b143bb03ca25a800e583e9d6601056514d1fb3..d4343ed615300cba67dc318674151308f3ae2895 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -2,8 +2,8 @@ %global srcname idna Name: python-%{srcname} -Version: 3.3 -Release: %{anolis_release}%{dist} +Version: 3.4 +Release: %{anolis_release}%{dist} Summary: Internationalized Domain Names in Applications (IDNA) License: BSD and Python and Unicode @@ -12,7 +12,7 @@ Source0: https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{versio BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3dist(pytest) %description A library to support the Internationalised Domain Names in Applications (IDNA) @@ -38,27 +38,42 @@ The library is also intended to act as a suitable drop-in replacement for the "encodings.idna" module that comes with the Python standard library but currently only supports the older 2003 specification. +%package doc +Summary: Documentation files for %{name} +Requires: python3-%{srcname} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -p1 -n %{srcname}-%{version} # Remove bundled egg-info rm -rf %{srcname}.egg-info +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files %{srcname} %check -%{__python3} setup.py test +%pytest -%files -n python3-%{srcname} +%files -n python3-%{srcname} -f %pyproject_files %license LICENSE.md + +%files doc %doc README.rst HISTORY.rst -%{python3_sitelib}/%{srcname} -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info -%changelog +%changelog +* Wed Sep 21 2022 mgb01105731 - 3.4-1 +- update to 3.4 + * Mon Apr 18 2022 Zhongling He 3.3-1 - Init package from upstream v3.3