forked from pool/python-dbus-deviation
Changed my mind, drop +x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbus-deviation?expand=0&rev=10
This commit is contained in:
@@ -5,7 +5,7 @@ Mon May 17 08:30:46 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
* Drop support for Python 2.7
|
||||
* Move to pycodestyle from pep8 and drop setup.py requirement for it
|
||||
* Minor maintenance documentation updates
|
||||
- Do not ship tests directory.
|
||||
- Drop execute bits for installed modules, stop a spurious requirement.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 3 15:53:31 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user