15
0
2021-05-17 08:44:20 +00:00
committed by Git OBS Bridge
parent b0b706b941
commit 0f0036b6e0
2 changed files with 3 additions and 4 deletions

View File

@@ -56,9 +56,8 @@ sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/utilities/*.py
%python_clone -a %{buildroot}%{_bindir}/dbus-interface-diff
%python_clone -a %{buildroot}%{_bindir}/dbus-interface-vcs-helper
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# No fair shipping the tests
%python_expand rm -r %{buildroot}%{$python_sitelib}/dbusapi/tests
%python_expand rm -r %{buildroot}%{$python_sitelib}/dbusdeviation/tests
# Drop execute bits for shipped modules
%python_expand find %{buildroot}%{$python_sitelib} -name '*.py' -print0 | xargs -0 chmod a-x
%check
%pyunittest -v