diff --git a/python-python-barcode.changes b/python-python-barcode.changes index ff41edc..f6520fc 100644 --- a/python-python-barcode.changes +++ b/python-python-barcode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 23 13:08:48 UTC 2020 - Tomáš Chvátal + +- Remove tests folder that was installed in sitelib + ------------------------------------------------------------------- Fri Mar 20 13:50:51 UTC 2020 - pgajdos@suse.com diff --git a/python-python-barcode.spec b/python-python-barcode.spec index f76f592..9f16845 100644 --- a/python-python-barcode.spec +++ b/python-python-barcode.spec @@ -57,6 +57,7 @@ rm docs/Makefile %install %python_install +%python_expand rm -r %{buildroot}%{$python_sitelib}/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} find "%{buildroot}" -type f -name "*.ttf" | while read i; do ln -fs "%{_datadir}/fonts/truetype/${i##*/}" "$i"