From 3f2258d4d1c18c263d96f49ea93475a02cfa9f8b2c92c50aa442ca55cc38a902 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Jul 2020 16:55:49 +0000 Subject: [PATCH] - Don't install tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=12 --- python-Glymur.changes | 5 +++++ python-Glymur.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-Glymur.changes b/python-Glymur.changes index 7ccf6d3..44f9eff 100644 --- a/python-Glymur.changes +++ b/python-Glymur.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl + +- Don't install tests + ------------------------------------------------------------------- Thu Jul 9 16:12:50 UTC 2020 - Ondřej Súkup diff --git a/python-Glymur.spec b/python-Glymur.spec index fc94ff2..02ea525 100644 --- a/python-Glymur.spec +++ b/python-Glymur.spec @@ -54,6 +54,8 @@ Python interface to the OpenJPEG library %install %python_install +# don't install tests +rm -rf %{buildroot}%{python_sitelib}/tests %python_clone -a %{buildroot}%{_bindir}/jp2dump %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -70,6 +72,7 @@ Python interface to the OpenJPEG library %doc README.md CHANGES.txt %license LICENSE.txt %python_alternative %{_bindir}/jp2dump -%{python_sitelib}/* +%{python_sitelib}/glymur* +%{python_sitelib}/Glymur* %changelog