diff --git a/python-ironicclient-4.4.0.tar.gz b/python-ironicclient-4.4.0.tar.gz new file mode 100644 index 0000000..0bde884 Binary files /dev/null and b/python-ironicclient-4.4.0.tar.gz differ diff --git a/python-ironicclient.spec b/python-ironicclient.spec new file mode 100644 index 0000000..85785dd --- /dev/null +++ b/python-ironicclient.spec @@ -0,0 +1,71 @@ +%global _empty_manifest_terminate_build 0 +%{!?upstream_version: %global upstream_version %{version}%{?milestone}} +%global sname ironicclient +%global common_desc A python and command line client library for Ironic + +Name: python-ironicclient +Version: 4.4.0 +Release: 1%{?dist} +Summary: Python client for Ironic +License: ASL 2.0 +URL: https://pypi.python.org/pypi/python-%{sname} +Source0: https://tarballs.openstack.org/python-%{sname}/python-%{sname}-%{version}%{?milestone}.tar.gz +BuildArch: noarch + +BuildRequires: openstack-macros + +%description +%{common_desc} + + +%package -n python3-%{sname} +Summary: Python client for Ironic +%{?python_provide:%python_provide python3-%{sname}} +Obsoletes: python2-%{sname} < %{version}-%{release} + +BuildRequires: python3-devel +BuildRequires: python3-pbr >= 2.0.0 +BuildRequires: python3-setuptools + +Requires: genisoimage +Requires: python3-PyYAML >= 3.12 +Requires: python3-appdirs >= 1.3.0 +Requires: python3-cliff >= 2.8.0 +Requires: python3-dogpile-cache >= 0.6.2 +Requires: python3-jsonschema >= 2.6.0 +Requires: python3-keystoneauth1 >= 3.4.0 +Requires: python3-openstacksdk >= 0.18.0 +Requires: python3-osc-lib >= 1.10.0 +Requires: python3-oslo-utils >= 3.33.0 +Requires: python3-pbr >= 2.0.0 +Requires: python3-requests >= 2.14.2 +Requires: python3-stevedore >= 1.20.0 + +Suggests: python3-openstackclient + +%description -n python3-%{sname} +%{common_desc} + +%prep +%setup -q -n %{name}-%{upstream_version} + +# Remove the requirements file so that pbr hooks don't add it +# to distutils requires_dist config +rm -rf {test-,}requirements.txt tools/{pip,test}-requires + +%build +%{py3_build} + +%install +%{py3_install} + +%files -n python3-%{sname} +%doc README.rst +%license LICENSE +%{_bindir}/baremetal +%{python3_sitelib}/%{sname}* +%{python3_sitelib}/python_%{sname}* + +%changelog +* Thu Jan 12 2021 Python_Bot +- Package Spec generated