1
0

- Remove tests folder that was installed in sitelib

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-barcode?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2020-03-23 13:09:03 +00:00
committed by Git OBS Bridge
parent 8021f49d52
commit dd8926eb7a
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 23 13:08:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Remove tests folder that was installed in sitelib
-------------------------------------------------------------------
Fri Mar 20 13:50:51 UTC 2020 - pgajdos@suse.com

View File

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