diff --git a/pyasyncore-1.0.4.tar.gz b/pyasyncore-1.0.4.tar.gz index 46b2c5e..ddbfd6f 100644 --- a/pyasyncore-1.0.4.tar.gz +++ b/pyasyncore-1.0.4.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c7a8b9b750ba6260f1e5a061456d61320a80579c6a43d42183417da89c7d5d6 -size 15339 +oid sha256:4d9d423ef3a3a601a9e6e638cb2951e1b49f7e94095818f25e439529fec34674 +size 16000 diff --git a/python-pyasyncore.changes b/python-pyasyncore.changes index 0fac14a..dc9e7f1 100644 --- a/python-pyasyncore.changes +++ b/python-pyasyncore.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 2 03:22:41 UTC 2024 - Steve Kowalik + +- Build for all versions of Python that we can (Python 3.10 not supported) +- Actually run the testsuite, switching to GitHub tarball so we have them. + ------------------------------------------------------------------- Sat Mar 16 09:31:47 UTC 2024 - Dirk Müller diff --git a/python-pyasyncore.spec b/python-pyasyncore.spec index 6efc1a1..a64aff1 100644 --- a/python-pyasyncore.spec +++ b/python-pyasyncore.spec @@ -16,21 +16,22 @@ # -%define pythons python312 +# Requires Python 3.11 or above +%define skip_python310 1 Name: python-pyasyncore Version: 1.0.4 Release: 0 -Summary: Make asyncore available for Python 312 onwards +Summary: Make asyncore available for Python 3.12 onwards License: PSF-2.0 URL: https://github.com/simonrob/pyasyncore -Source: https://files.pythonhosted.org/packages/source/p/pyasyncore/pyasyncore-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.12} +Source: https://github.com/simonrob/pyasyncore/archive/refs/tags/v%{version}.tar.gz#/pyasyncore-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.11} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testsuite} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-base >= 3.12 BuildArch: noarch %python_subpackages @@ -39,6 +40,7 @@ Make asyncore available for Python 3.12 onwards %prep %autosetup -p1 -n pyasyncore-%{version} +chmod -x LICENSE README.md %build %pyproject_wheel @@ -47,7 +49,8 @@ Make asyncore available for Python 3.12 onwards %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# no tests available +%check +%pyunittest -v %files %{python_files} %doc README.md