From b418ba6f23addafc42646aa242ead36035e1d54bd2b6084b210f0b8d80b8d4e4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 4 Apr 2020 10:19:28 +0000 Subject: [PATCH] Accepting request 790036 from devel:languages:python - Do not remove the tests from distdir as other pkgs can import them OBS-URL: https://build.opensuse.org/request/show/790036 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=30 --- python-dulwich.changes | 6 ++++++ python-dulwich.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-dulwich.changes b/python-dulwich.changes index e3d8a4a..9afa480 100644 --- a/python-dulwich.changes +++ b/python-dulwich.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 31 08:43:48 UTC 2020 - Tomáš Chvátal + +- Do not remove the tests from distdir as other pkgs can import + them + ------------------------------------------------------------------- Fri Feb 28 21:30:20 UTC 2020 - Dirk Mueller diff --git a/python-dulwich.spec b/python-dulwich.spec index d8edaa3..7529d82 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -62,7 +62,8 @@ export CFLAGS="%{optflags}" %install %python_install -%python_expand rm -r %{buildroot}%{$python_sitearch}/dulwich/tests +# Do not remove tests as they are reused by other packages +#%%python_expand rm -r %{buildroot}%{$python_sitearch}/dulwich/tests %python_expand %fdupes %{buildroot}%{$python_sitearch} %python_clone -a %{buildroot}%{_bindir}/dulwich %python_clone -a %{buildroot}%{_bindir}/dul-receive-pack