From f74ff76ed67430ec3939f7d33c6ed46996c0e03d Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 18:08:56 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/python-dbus-client-gen#c1202750ac4d63edeee4ff8fd325782da70f6a13 --- .gitignore | 3 ++ README.md | 3 ++ python-dbus-client-gen.spec | 96 +++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 103 insertions(+) create mode 100644 README.md create mode 100644 python-dbus-client-gen.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..bd3fda0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/dbus-client-gen-0.2.tar.gz +/dbus-client-gen-0.3.tar.gz +/dbus-client-gen-0.4.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..235338d --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-dbus-client-gen + +The python-dbus-client-gen package \ No newline at end of file diff --git a/python-dbus-client-gen.spec b/python-dbus-client-gen.spec new file mode 100644 index 0000000..2bffef4 --- /dev/null +++ b/python-dbus-client-gen.spec @@ -0,0 +1,96 @@ +%{?python_enable_dependency_generator} +%global srcname dbus-client-gen + +Name: python-%{srcname} +Version: 0.4 +Release: 8%{?dist} +Summary: Library for Generating D-Bus Client Code + +License: MPLv2.0 +URL: https://github.com/stratis-storage/dbus-client-gen +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +This library contains a few methods that consume an XML specification\ +of a D-Bus interface and return classes or functions that may be useful\ +in constructing a python D-Bus client. The XML specification has the format\ +of the data returned by the Introspect() method\ +of the Introspectable interface. + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-hypothesis +BuildRequires: python3-hs-dbus-signature + +%description -n python3-%{srcname} %{_description} + +Python 3 version. + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/dbus_client_gen/ +%{python3_sitelib}/dbus_client_gen-*.egg-info/ + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.4-7 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.4-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.4-4 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Dec 12 2018 Igor Gnatenko - 0.4-1 +- Update to 0.4 + +* Wed Aug 8 2018 Andy Grover - 0.3-4 +* Bump version + +* Fri Jul 13 2018 Fedora Release Engineering - 0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.3-2 +- Rebuilt for Python 3.7 + +* Fri Jun 1 2018 Andy Grover - 0.3-1 +- New upstream release + +* Fri Feb 09 2018 Fedora Release Engineering - 0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d4db2c7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dbus-client-gen-0.4.tar.gz) = 801165d75afb244fd4f96e2beb9b48e79bafbfa1a6083991e6439b5a964021069a018488e26cef749a33305c92898701ca9e2a66e317f6dfa1f66f2299c2f750