diff --git a/python-masakariclient-8.3.0.tar.gz b/python-masakariclient-8.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e6cc8eebacc63291509f4aa24cf273100755b051 Binary files /dev/null and b/python-masakariclient-8.3.0.tar.gz differ diff --git a/python-masakariclient.spec b/python-masakariclient.spec new file mode 100644 index 0000000000000000000000000000000000000000..1270a6ff0db203fc97842d9dd5c64b49b76843ad --- /dev/null +++ b/python-masakariclient.spec @@ -0,0 +1,107 @@ +%global _empty_manifest_terminate_build 0 +Name: python-masakariclient +Version: 8.3.0 +Release: 1 +Summary: masakariclient module and a CLI tool for masakari +License: Apache-2.0 +URL: http://www.openstack.org/ +Source0: https://files.pythonhosted.org/packages/94/ee/c97a7937c75c585227de3ffb2ddd7cbc1725f11d09bd333b992ef3ba6bae/python-masakariclient-8.3.0.tar.gz +BuildArch: noarch +%description + python-masakariclient masakariclient module and a CLI tool for masakariPlease +fill here a long description which must be at least 3 lines wrapped on 80 cols, +so that distribution package maintainers can use it in their packages. Note that +this is a hard requirement.Free software: Apache license Documentation: Source: +Bugs: Release Notes: + +%package -n python3-masakariclient +Summary: masakariclient module and a CLI tool for masakari +Provides: python-masakariclient +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General build requires +BuildRequires: python3-openstacksdk +BuildRequires: python3-osc-lib +BuildRequires: python3-oslo-i18n +BuildRequires: python3-oslo-serialization +# General requires +Requires: python3-openstacksdk +Requires: python3-osc-lib +Requires: python3-oslo-i18n +Requires: python3-oslo-serialization +Requires: python3-pbr +%description -n python3-masakariclient + python-masakariclient masakariclient module and a CLI tool for masakariPlease +fill here a long description which must be at least 3 lines wrapped on 80 cols, +so that distribution package maintainers can use it in their packages. Note that +this is a hard requirement.Free software: Apache license Documentation: Source: +Bugs: Release Notes: + +%package help +Summary: masakariclient module and a CLI tool for masakari +Provides: python3-masakariclient-doc +%description help + python-masakariclient masakariclient module and a CLI tool for masakariPlease +fill here a long description which must be at least 3 lines wrapped on 80 cols, +so that distribution package maintainers can use it in their packages. Note that +this is a hard requirement.Free software: Apache license Documentation: Source: +Bugs: Release Notes: + +%prep +%autosetup -n python-masakariclient-%{version} + +%build +%py3_build + +%install +%py3_install + +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%check +# %{__python3} setup.py test + +%files -n python3-masakariclient -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Dec 10 2024 liutao1 - 8.3.0-1 +- update package of version 8.3.0 +- Adds support for Masakari VMove API in microversion 1.3 + +* Mon Apr 08 2024 wangjing - 8.1.0-1 +- update package of version 8.1.0 + +* Thu Apr 13 2023 OpenStack_SIG - 7.0.0-1 +- Init package python3-masakariclient of version 7.0.0