From 8efa39c463bc7c86b38f5fd7eda1c992e7086b47621487f21efce168c362409f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Aug 2020 05:53:23 +0000 Subject: [PATCH] - Do not install tests in sitelib directly OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-web.py?expand=0&rev=20 --- python-web.py.changes | 5 +++++ python-web.py.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-web.py.changes b/python-web.py.changes index d203cf4..bc57880 100644 --- a/python-web.py.changes +++ b/python-web.py.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 6 05:53:01 UTC 2020 - Tomáš Chvátal + +- Do not install tests in sitelib directly + ------------------------------------------------------------------- Thu Mar 26 07:10:49 UTC 2020 - Tomáš Chvátal diff --git a/python-web.py.spec b/python-web.py.spec index 11aa794..c80461e 100644 --- a/python-web.py.spec +++ b/python-web.py.spec @@ -46,6 +46,7 @@ Think about the ideal way to write a web app. Write the code to make it happen. %install %python_install +%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check