From a4e7a541887b4ef1eabbb7c43ed12d594bd91ba5f908ca315ae11f062e496ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Sep 2019 13:23:17 +0000 Subject: [PATCH] - Drop the tests folder install as it is not really needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pastel?expand=0&rev=3 --- python-pastel.changes | 5 +++++ python-pastel.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-pastel.changes b/python-pastel.changes index de13ad1..7aa42a5 100644 --- a/python-pastel.changes +++ b/python-pastel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 17 13:22:55 UTC 2019 - Tomáš Chvátal + +- Drop the tests folder install as it is not really needed + ------------------------------------------------------------------- Sun Sep 15 11:16:35 UTC 2019 - Jan Engelhardt diff --git a/python-pastel.spec b/python-pastel.spec index 33dfe70..4ec7758 100644 --- a/python-pastel.spec +++ b/python-pastel.spec @@ -45,6 +45,7 @@ Pastel is a library to colorize strings in the terminal. %install %python_install +%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}