From a6cdc066b1a9b00795a019c79549e38c4f629e9c834c3b678bbb17b89f91ffb5 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 6 Jan 2020 18:09:58 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=19 --- python-astropy.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-astropy.spec b/python-astropy.spec index f8e9438..f4619dc 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -108,6 +108,7 @@ echo "use_system_libraries=1" >> setup.cfg # Deduplicating files can generate a RPMLINT warning for pyc mtime %{python_expand %fdupes %{buildroot}%{$python_sitearch} +rm -rf %{buildroot}%{$python_sitearch}/astropy/io/votable/tests/__pycache__/*_test.*.pyc $python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/astropy/io/misc/tests/ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/astropy/io/misc/tests/ $python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/astropy/io/votable/tests/