Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e5f775f1d7 | |||
| 13029d8fff |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 26 11:01:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 01:18:57 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dasbus
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-dasbus
|
||||
Version: 1.7
|
||||
Release: 0
|
||||
@@ -27,7 +25,9 @@ Group: Development/Libraries/Python
|
||||
URL: https://github.com/rhinstaller/dasbus
|
||||
Source: https://github.com/rhinstaller/dasbus/releases/download/v%{version}/dasbus-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gobject-introspection
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -42,15 +42,16 @@ DBus library in Python 3, based on GLib and inspired by pydbus.
|
||||
%setup -q -n dasbus-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/dasbus
|
||||
%{python_sitelib}/dasbus-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user