From fda64b866c6ee5348dc3f187afa043e9b7529a17 Mon Sep 17 00:00:00 2001 From: Bryan Gurney Date: Wed, 26 Apr 2023 16:23:56 -0400 Subject: [PATCH] Update to 0.8.3 --- .fmf/version | 1 + .gitignore | 2 ++ .python-dbus-python-client-gen.metadata | 1 + plans/unit.fmf | 20 ++++++++++++++++++++ python-dbus-python-client-gen.spec | 15 ++++++++++++--- sources | 2 +- tests/tests.yml | 14 -------------- 7 files changed, 37 insertions(+), 18 deletions(-) create mode 100644 .fmf/version create mode 100644 .python-dbus-python-client-gen.metadata create mode 100644 plans/unit.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index 0b42b31..929f6e1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /dbus-python-client-gen-0.6.tar.gz /dbus-python-client-gen-0.7.tar.gz /dbus-python-client-gen-0.8.tar.gz +/dbus-python-client-gen-0.8.2.tar.gz +/dbus-python-client-gen-0.8.3.tar.gz diff --git a/.python-dbus-python-client-gen.metadata b/.python-dbus-python-client-gen.metadata new file mode 100644 index 0000000..bd3c52d --- /dev/null +++ b/.python-dbus-python-client-gen.metadata @@ -0,0 +1 @@ +02244c500e91a7061f775db0d59eef9e6a3131ad dbus-python-client-gen-0.8.3.tar.gz diff --git a/plans/unit.fmf b/plans/unit.fmf new file mode 100644 index 0000000..948ab5a --- /dev/null +++ b/plans/unit.fmf @@ -0,0 +1,20 @@ +summary: unit tests + +prepare: + - name: Install make + how: install + package: make + - name: Install package + how: install + package: python-dbus-python-client-gen + +discover: + how: shell + url: https://github.com/stratis-storage/dbus-python-client-gen + ref: v0.8.3 + tests: + - name: unit + test: make test + +execute: + how: tmt diff --git a/python-dbus-python-client-gen.spec b/python-dbus-python-client-gen.spec index ee2f150..71e988d 100644 --- a/python-dbus-python-client-gen.spec +++ b/python-dbus-python-client-gen.spec @@ -1,11 +1,11 @@ %global srcname dbus-python-client-gen Name: python-%{srcname} -Version: 0.8 -Release: 5%{?dist} +Version: 0.8.3 +Release: 1%{?dist} Summary: Python Library for Generating dbus-python Client Code -License: MPLv2.0 +License: MPL-2.0 URL: https://github.com/stratis-storage/dbus-python-client-gen Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz @@ -21,6 +21,11 @@ Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools +# Required due to a setuptools bug that was fixed in setuptools 61.0. +# Previous to that version, setuptools loads the __init__.py module to +# obtain the value of the __version__ attribute. +BuildRequires: python3-dbus +BuildRequires: python3-into-dbus-python >= 0.08 %description -n python3-%{srcname} %{_description} @@ -42,6 +47,10 @@ Python 3 version. %{python3_sitelib}/dbus_python_client_gen-*.egg-info/ %changelog +* Fri Apr 28 2023 Bryan Gurney - 0.8.3-1 +- Update to 0.8.3 +- Resolves: rhbz#2189682 + * Tue Aug 10 2021 Mohan Boddu - 0.8-5 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 diff --git a/sources b/sources index ba82a7b..18e36a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dbus-python-client-gen-0.8.tar.gz) = a3e846b69db978e75a721d3490f57d57a70b89eb8e908c9c8a58b0baacc9e1bf40f7d98fbc9ba9c7566beef7f863941a4d6843b68af12cb7704bd3d16f37eaca +SHA512 (dbus-python-client-gen-0.8.3.tar.gz) = 0a3e91c8eea61e6bf36ffc7b29e8aa74e1e5ae598c9f2ffe9439833347a18024cab7ed60f420b48df73640b37369e85d7989a0fcf6f9a51fda9d7dbd57a1f485 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index edf5bc7..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-source - tags: - - always - - - role: standard-test-basic - tags: - - classic - tests: - - simple: - dir: ./source - run: python -m unittest discover --verbose tests