diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e65ac3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dbus-python-client-gen-0.7.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/python-dbus-python-client-gen.spec b/python-dbus-python-client-gen.spec new file mode 100644 index 0000000..b9f8a55 --- /dev/null +++ b/python-dbus-python-client-gen.spec @@ -0,0 +1,63 @@ +%global srcname dbus-python-client-gen + +Name: python-%{srcname} +Version: 0.7 +Release: 3%{?dist} +Summary: Python Library for Generating dbus-python Client Code + +License: MPLv2.0 +URL: https://github.com/stratis-storage/dbus-python-client-gen +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%global _description \ +%{summary}. + +%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-dbus +BuildRequires: python3-into-dbus-python >= 0.06 +Requires: python3-dbus +Requires: python3-into-dbus-python >= 0.06 + +%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_python_client_gen/ +%{python3_sitelib}/dbus_python_client_gen-*.egg-info/ + +%changelog +* Wed Oct 30 2019 Dennis Keefe - 0.7-3 +- Update to 0.7-3 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 31 2018 Igor Gnatenko - 0.6-1 +- Update to 0.6 + +* Mon Jan 08 2018 Igor Gnatenko - 0.5-1 +- Initial import diff --git a/sources b/sources new file mode 100644 index 0000000..7a91b6e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dbus-python-client-gen-0.7.tar.gz) = 3c52ac5491fa3361c33405451d98c97501055469eff4e41a45565a16ad4f959dd64d4c9b505cad963cd53309db4707f91dd75fb9a9254896c8ce00d9ad198653