forked from pool/python-python-barcode
- 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:
committed by
Git OBS Bridge
parent
8021f49d52
commit
dd8926eb7a
@@ -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
|
Fri Mar 20 13:50:51 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -57,6 +57,7 @@ rm docs/Makefile
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
find "%{buildroot}" -type f -name "*.ttf" | while read i; do
|
find "%{buildroot}" -type f -name "*.ttf" | while read i; do
|
||||||
ln -fs "%{_datadir}/fonts/truetype/${i##*/}" "$i"
|
ln -fs "%{_datadir}/fonts/truetype/${i##*/}" "$i"
|
||||||
|
Reference in New Issue
Block a user