15
0
forked from pool/python-cymem

- Fix fdupes macro, files are installed to sitearch.

- Actually run the test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cymem?expand=0&rev=9
This commit is contained in:
2025-01-22 03:08:41 +00:00
committed by Git OBS Bridge
parent 0356d5682d
commit cff2075226
2 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 03:07:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <adrian.glaubitz@suse.com>

View File

@@ -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