diff --git a/pycares-4.5.0.tar.gz b/pycares-4.5.0.tar.gz deleted file mode 100644 index 4581563..0000000 --- a/pycares-4.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:025b6c2ffea4e9fb8f9a097381c2fecb24aff23fbd6906e70da22ec9ba60e19d -size 821554 diff --git a/pycares-4.6.0.tar.gz b/pycares-4.6.0.tar.gz new file mode 100644 index 0000000..f48a8e2 --- /dev/null +++ b/pycares-4.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8a004b18a7465ac9400216bc3fad9d9966007af1ee32f4412d2b3a94e33456e +size 822080 diff --git a/python-pycares.changes b/python-pycares.changes index 5d32b09..d3edf41 100644 --- a/python-pycares.changes +++ b/python-pycares.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Apr 11 07:18:09 UTC 2025 - Matej Cepl + +- Clean up the SPEC file. + +------------------------------------------------------------------- +Thu Apr 10 12:28:57 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 4.6.0 + * Swap out is_all_ascii for built-in str.isascii by @bdraco in (#209) + * Fixup tests by @saghul in (#214) + * Add initial type annotations by @Dreamsorcerer in (#212) + * Fix module has no attribute type errors by @Dreamsorcerer in (#211) + ------------------------------------------------------------------- Fri Jan 10 09:20:14 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-pycares.spec b/python-pycares.spec index 6c6bc6f..2da105e 100644 --- a/python-pycares.spec +++ b/python-pycares.spec @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-pycares -Version: 4.5.0 +Version: 4.6.0 Release: 0 Summary: Python interface for c-ares License: MIT @@ -32,7 +30,9 @@ Source: https://files.pythonhosted.org/packages/source/p/pycares/pycares Patch0: cleanup_tests.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: c-ares-devel BuildRequires: fdupes BuildRequires: gcc @@ -49,13 +49,11 @@ resolutions asynchronously %prep %autosetup -p1 -n pycares-%{version} -rm -Rf - %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -66,6 +64,7 @@ rm -Rf %files %{python_files} %license LICENSE %doc ChangeLog README.rst -%{python_sitearch}/* +%{python_sitearch}/pycares +%{python_sitearch}/pycares-%{version}*-info %changelog