From dd8926eb7a10d8c5b0c9f23ecce19faac91c1f5a748f464effdd0d693c7eec04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 23 Mar 2020 13:09:03 +0000 Subject: [PATCH] - 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 --- python-python-barcode.changes | 5 +++++ python-python-barcode.spec | 1 + 2 files changed, 6 insertions(+) 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"