diff --git a/0.21.0.tar.gz b/0.21.0.tar.gz deleted file mode 100644 index d093db1..0000000 --- a/0.21.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8054359e2ef22e1b724cfc0e924f46095429a33075c61af30ed2cbb7fa20a1e -size 55774 diff --git a/python-libsass.changes b/python-libsass.changes index b0a3c2d..b1c70ff 100644 --- a/python-libsass.changes +++ b/python-libsass.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 13 16:27:27 UTC 2023 - Matej Cepl + +- Clean up the SPEC file and tighten it a bit to be less + all-accepting. + ------------------------------------------------------------------- Mon Mar 13 13:15:05 UTC 2023 - pgajdos@suse.com diff --git a/python-libsass.spec b/python-libsass.spec index 44a8ebc..bd167b4 100644 --- a/python-libsass.spec +++ b/python-libsass.spec @@ -57,7 +57,12 @@ export SYSTEM_SASS=true export SYSTEM_SASS=true %python_install %python_clone -a %{buildroot}%{_bindir}/pysassc -%python_expand %fdupes %{buildroot}%{$python_sitearch} +%{python_expand \ +# We don't want to install tests +rm %{buildroot}%{$python_sitearch}/sasstests.py \ + %{buildroot}%{$python_sitearch}/__pycache__/sasstests.*.pyc +%fdupes %{buildroot}%{$python_sitearch} +} %check %pytest_arch sasstests.py @@ -70,7 +75,11 @@ export SYSTEM_SASS=true %files %{python_files} %python_alternative %{_bindir}/pysassc -%{python_sitearch}/__pycache__ -%{python_sitearch}/*sass* +%{python_sitearch}/pysassc.py +%{python_sitearch}/sass.py +%{python_sitearch}/_sass*.so +%{python_sitearch}/sassutils +%pycache_only %{python_sitearch}/__pycache__/*sass*.pyc +%{python_sitearch}/libsass-%{version}*-info %changelog