%global _empty_manifest_terminate_build 0 Name: openstack-sig-tool Version: 1.0.1 Release: 2 Summary: The command line tool for openEuler OpenStack SIG License: Apache-2.0 URL: https://gitee.com/openeuler/openstack-sig-tool Source0: openstack-sig-tool-1.0.1.tar.gz BuildArch: noarch Provides: openstack-sig-tool = %{version} # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel # General build requires BuildRequires: ansible BuildRequires: python3-beautifulsoup4 BuildRequires: python3-simplejson BuildRequires: python3-click BuildRequires: python3-jinja2 BuildRequires: python3-lxml BuildRequires: python3-markdown BuildRequires: python3-packaging BuildRequires: python3-pandas BuildRequires: python3-prettytable BuildRequires: python3-pymdown-extensions BuildRequires: python3-pyyaml BuildRequires: python3-requests BuildRequires: python3-xmltodict # General requires Requires: ansible Requires: python3-beautifulsoup4 Requires: python3-simplejson Requires: python3-click Requires: python3-jinja2 Requires: python3-lxml Requires: python3-markdown Requires: python3-packaging Requires: python3-pandas Requires: python3-prettytable Requires: python3-pymdown-extensions Requires: python3-pyyaml Requires: python3-requests Requires: python3-xmltodict %description The command line tool for openEuler OpenStack SIG %prep %autosetup -n openstack-sig-tool-%{version} # the default deployment tools dont need that sed -i '/^huaweicloudsdkecs/d' requirements.txt sed -i '/^huaweicloudsdkims/d' requirements.txt sed -i '/^huaweicloudsdkvpc/d' requirements.txt %build %py3_build %install %py3_install %check %{__python3} setup.py test %files %{_bindir}/oos %dir %{python3_sitelib}/oos %{python3_sitelib}/oos/* %{python3_sitelib}/openstack_sig_tool-%{version}-py3.*.egg-info/* %config(noreplace) %attr(0755, root, root) /usr/etc/oos/inventory/oos_inventory.py %config(noreplace) %attr(0644, root, root) /usr/etc/oos/inventory/oos_inventory.j2 %config(noreplace) %attr(0644, root, root) /usr/etc/oos/key_pair/* %config(noreplace) %attr(0644, root, root) /usr/etc/oos/oos.conf %config(noreplace) %attr(0644, root, root) /usr/etc/oos/package.spec.j2 %config(noreplace) %attr(0644, root, root) /usr/etc/oos/*.yaml %config(noreplace) %attr(0644, root, root) /usr/etc/oos/playbooks/*.yaml %config(noreplace) %attr(0644, root, root) /usr/etc/oos/playbooks/roles/ %changelog * Fri Oct 25 2024 tzing_t - 1.0.1-2 - add permission for oos_inventory.py * Thu Oct 24 2024 OpenStack_SIG - 1.0.1-1 - Init package openstack-sig-tool of version 1.0.1