1
0

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
This commit is contained in:
Dominique Leuenberger 2020-04-04 10:19:28 +00:00 committed by Git OBS Bridge
parent e6a5140fcf
commit b418ba6f23
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 31 08:43:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Do not remove the tests from distdir as other pkgs can import
them
-------------------------------------------------------------------
Fri Feb 28 21:30:20 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -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