update to 4.5.0
This commit is contained in:
parent
8608fd82fa
commit
682bc4fa74
Binary file not shown.
BIN
python-ironic-inspector-client-4.5.0.tar.gz
Normal file
BIN
python-ironic-inspector-client-4.5.0.tar.gz
Normal file
Binary file not shown.
@ -1,78 +1,116 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-ironic-inspector-client
|
||||
Version: 4.4.0
|
||||
Release: 2
|
||||
Summary: Python client and CLI tool for Ironic Inspector
|
||||
License: ASL 2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://launchpad.net/python-ironic-inspector-client
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/python-ironic-inspector-client/python-ironic-inspector-client-4.4.0.tar.gz
|
||||
BuildRequires: openstack-macros
|
||||
BuildRequires: python3-fixtures
|
||||
BuildRequires: python3-mock
|
||||
Version: 4.5.0
|
||||
Release: 1
|
||||
Summary: Python client for Ironic Inspector
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/python-ironic-inspector-client/latest/
|
||||
Source0: https://files.pythonhosted.org/packages/9b/7d/08e8bb2412405119973ce780b4a25ae5d82d2fbc1c123dbad9d5ca70992f/python-ironic-inspector-client-4.5.0.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
This is a client library and tool for Ironic.
|
||||
|
||||
|
||||
%package -n python3-ironic-inspector-client
|
||||
Summary: Python client for Ironic Inspector
|
||||
Provides: python-ironic-inspector-client
|
||||
# Base build requires
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
# General requires
|
||||
BuildRequires: python3-eventlet
|
||||
BuildRequires: python3-ironic-inspector
|
||||
BuildRequires: python3-pyyaml
|
||||
BuildRequires: python3-cliff
|
||||
BuildRequires: python3-keystoneauth1
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: python3-openstackclient
|
||||
BuildRequires: python3-openstackdocstheme
|
||||
# Tests running requires
|
||||
BuildRequires: python3-coverage
|
||||
BuildRequires: python3-fixtures
|
||||
BuildRequires: python3-osc-lib
|
||||
BuildRequires: python3-osc-lib-tests
|
||||
BuildRequires: python3-oslo-concurrency
|
||||
BuildRequires: python3-reno
|
||||
BuildRequires: python3-openstackclient
|
||||
BuildRequires: python3-requests-mock
|
||||
BuildRequires: python3-testrepository
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Ironic Inspector is an auxiliary service for discovering hardware properties
|
||||
for a node managed by OpenStack Ironic. Hardware introspection or hardware
|
||||
properties discovery is a process of getting hardware parameters required for
|
||||
scheduling from a bare metal node, given its power management credentials
|
||||
(e.g. IPMI address, user name and password).
|
||||
|
||||
This package contains Python client and command line tool for Ironic Inspector.
|
||||
|
||||
%package -n python3-ironic-inspector-client
|
||||
Summary: Python client and CLI tool for Ironic Inspector
|
||||
Requires: python3-PyYAML
|
||||
# General requires
|
||||
Requires: python3-pyyaml
|
||||
Requires: python3-cliff
|
||||
Requires: python3-keystoneauth1
|
||||
Requires: python3-openstackclient
|
||||
Requires: python3-osc-lib
|
||||
Requires: python3-oslo-i18n
|
||||
Requires: python3-oslo-utils
|
||||
Requires: python3-pbr
|
||||
Requires: python3-requests
|
||||
|
||||
Requires: python3-openstackclient
|
||||
# Tests running requires
|
||||
Requires: python3-coverage
|
||||
Requires: python3-fixtures
|
||||
Requires: python3-osc-lib
|
||||
Requires: python3-oslo-concurrency
|
||||
Requires: python3-openstackclient
|
||||
Requires: python3-requests-mock
|
||||
%description -n python3-ironic-inspector-client
|
||||
Ironic Inspector is an auxiliary service for discovering hardware properties
|
||||
for a node managed by OpenStack Ironic. Hardware introspection or hardware
|
||||
properties discovery is a process of getting hardware parameters required for
|
||||
scheduling from a bare metal node, given its power management credentials
|
||||
(e.g. IPMI address, user name and password).
|
||||
This is a client library and tool for Ironic.
|
||||
|
||||
This package contains Python client and command line tool for Ironic Inspector.
|
||||
|
||||
This package contains the Python 3.x module.
|
||||
%package help
|
||||
Summary: Python client for Ironic Inspector
|
||||
Provides: python3-ironic-inspector-client-doc
|
||||
%description help
|
||||
This is a client library and tool for Ironic.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n python-ironic-inspector-client-4.4.0
|
||||
sed -i -e 's,hacking.*,,' test-requirements.txt
|
||||
sed -i -e 's,coverage.*,,' test-requirements.txt
|
||||
sed -i -e 's,doc8.*,,' test-requirements.txt
|
||||
%py_req_cleanup
|
||||
%autosetup -n python-ironic-inspector-client-4.5.0
|
||||
|
||||
%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
|
||||
rm -rf .testrepository
|
||||
python3 -m unittest discover ironic_inspector_client
|
||||
#%{__python3} setup.py test
|
||||
%{__python3} -m unittest discover ironic_inspector_client.test
|
||||
|
||||
%files -n python3-ironic-inspector-client
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/ironic_inspector_client
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%files -n python3-ironic-inspector-client -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 4.5.0-1
|
||||
- Update to 4.5.0
|
||||
|
||||
* Mon Feb 22 2021 zhaorenhai <zhaorenhai@hotmail.com> - 4.4.0-2
|
||||
- Add build requires python3-osc-lib-tests
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user