diff --git a/.gitignore b/.gitignore index 9a46b15..2fa6710 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /idna-3.1.tar.gz /idna-3.2.tar.gz /idna-3.3.tar.gz +/idna-3.4.tar.gz diff --git a/python-idna.spec b/python-idna.spec index ced7dcd..88e9d30 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -1,8 +1,8 @@ %global srcname idna Name: python-%{srcname} -Version: 3.3 -Release: 4%{?dist} +Version: 3.4 +Release: 1%{?dist} Summary: Internationalized Domain Names in Applications (IDNA) License: BSD and Python and Unicode @@ -11,7 +11,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) @@ -42,23 +42,28 @@ currently only supports the older 2003 specification. # 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 %doc README.rst HISTORY.rst -%{python3_sitelib}/%{srcname} -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog +* Thu Sep 15 2022 Lumír Balhar - 3.4-1 +- Update to 3.4 +Resolves: rhbz#2126582 + * Fri Jul 22 2022 Fedora Release Engineering - 3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 80a1e51..6330f8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (idna-3.3.tar.gz) = 70b7cc8718e7d7899c75cfe476f044eae5a2fa03801fc9c12e3a092627ca943ffc4a578f9b8a55e181a11564835e125cfaaa577c02a6461dbb97366e620e53ad +SHA512 (idna-3.4.tar.gz) = 4060a9304c9bac04efdd0b97ec8f5aeb7e17417e767bf51c5dfc26605edad25ab67456cf6f6a3c5a9f32b8247e46f6343edfd8a6ffbcd6d1075c71e66d089d6a