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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user