From b40da69f35d6951792ca1bf814c58eea82dd5f99 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 30 Mar 2026 10:55:25 -0400 Subject: [PATCH] import CS python-dasbus-1.7-1.el9 --- .gitignore | 2 +- .python-dasbus.metadata | 2 +- SPECS/python-dasbus.spec | 21 +++++++++++++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 10298f2..2ee69f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/dasbus-1.5.tar.gz +SOURCES/dasbus-1.7.tar.gz diff --git a/.python-dasbus.metadata b/.python-dasbus.metadata index 08aee5e..41aa033 100644 --- a/.python-dasbus.metadata +++ b/.python-dasbus.metadata @@ -1 +1 @@ -dabf4a6816e9d7b86a7c403a2605d6aaa53643e0 SOURCES/dasbus-1.5.tar.gz +a38f2959b55633e480c412720fade0296b94ae39 SOURCES/dasbus-1.7.tar.gz diff --git a/SPECS/python-dasbus.spec b/SPECS/python-dasbus.spec index 88ca2c0..938a681 100644 --- a/SPECS/python-dasbus.spec +++ b/SPECS/python-dasbus.spec @@ -1,13 +1,18 @@ %global srcname dasbus Name: python-%{srcname} -Version: 1.5 +Version: 1.7 Release: 1%{?dist} Summary: DBus library in Python 3 -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://pypi.python.org/pypi/dasbus +%if %{defined suse_version} +Source0: %{srcname}-%{version}.tar.gz +Group: Development/Libraries/Python +%else Source0: %{pypi_source} +%endif BuildArch: noarch @@ -22,7 +27,13 @@ to use and extend.} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools +%if %{defined suse_version} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python3-gobject +%else Requires: python3-gobject-base +%endif %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{_description} @@ -35,6 +46,9 @@ Requires: python3-gobject-base %install %py3_install +%if %{defined suse_version} +%python_expand %fdupes %{buildroot}%{python3_sitelib} +%endif %files -n python3-%{srcname} %license LICENSE @@ -43,6 +57,9 @@ Requires: python3-gobject-base %{python3_sitelib}/%{srcname}/ %changelog +* Fri Sep 12 2025 Katerina Koukiou - 1.7-1 +- Update to version 1.7 + * Mon Jul 07 2025 Katerina Koukiou - 1.5-1 - Update to version 1.5