diff --git a/python-cymem.changes b/python-cymem.changes index bee97ca..47d13db 100644 --- a/python-cymem.changes +++ b/python-cymem.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 22 03:07:56 UTC 2025 - Steve Kowalik + +- Fix fdupes macro, files are installed to sitearch. +- Actually run the test suite. + ------------------------------------------------------------------- Tue Jan 21 09:53:26 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-cymem.spec b/python-cymem.spec index 90d2347..774a37d 100644 --- a/python-cymem.spec +++ b/python-cymem.spec @@ -69,9 +69,16 @@ expires. %install %pyproject_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check +# Avoid the topdir, which means we can't import cymem.cymem +tmpdir=$(mktemp -d) +cp cymem/tests/* $tmpdir +pushd $tmpdir +%pytest_arch +popd +rm -r $tmpdir %files %{python_files} %doc README.md