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