forked from pool/python-dbus-deviation
- Update to 0.6.1:
* 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbus-deviation?expand=0&rev=8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dbus-deviation
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-dbus-deviation
|
||||
Version: 0.6.0
|
||||
Version: 0.6.1
|
||||
Release: 0
|
||||
Summary: Parse D-Bus introspection XML and process it in various ways
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: http://people.collabora.com/~pwith/dbus-deviation/
|
||||
Source: https://files.pythonhosted.org/packages/source/d/dbus-deviation/dbus-deviation-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
@@ -56,6 +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}/dbusdeviation/tests
|
||||
|
||||
%check
|
||||
%pyunittest -v
|
||||
@@ -67,7 +69,7 @@ sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/utilities/*.py
|
||||
%python_uninstall_alternative dbus-interface-diff
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS NEWS README
|
||||
%doc AUTHORS NEWS README.md
|
||||
%license COPYING
|
||||
%python_alternative %{_bindir}/dbus-interface-diff
|
||||
%python_alternative %{_bindir}/dbus-interface-vcs-helper
|
||||
|
||||
Reference in New Issue
Block a user