!10 update version to 4.5.0
From: @zhangy1317 Reviewed-by: @zh-f,@huangtianhua Signed-off-by: @huangtianhua
This commit is contained in:
commit
e0082096ae
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
|
Name: python-ironic-inspector-client
|
||||||
Version: 4.4.0
|
Version: 4.5.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Python client and CLI tool for Ironic Inspector
|
Summary: Python client for Ironic Inspector
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
URL: https://docs.openstack.org/python-ironic-inspector-client/latest/
|
||||||
URL: https://launchpad.net/python-ironic-inspector-client
|
Source0: https://files.pythonhosted.org/packages/9b/7d/08e8bb2412405119973ce780b4a25ae5d82d2fbc1c123dbad9d5ca70992f/python-ironic-inspector-client-4.5.0.tar.gz
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/python-ironic-inspector-client/python-ironic-inspector-client-4.4.0.tar.gz
|
BuildArch: noarch
|
||||||
BuildRequires: openstack-macros
|
%description
|
||||||
BuildRequires: python3-fixtures
|
This is a client library and tool for Ironic.
|
||||||
BuildRequires: python3-mock
|
|
||||||
|
|
||||||
|
%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-openstackclient
|
||||||
BuildRequires: python3-openstackdocstheme
|
# Tests running requires
|
||||||
|
BuildRequires: python3-coverage
|
||||||
|
BuildRequires: python3-fixtures
|
||||||
BuildRequires: python3-osc-lib
|
BuildRequires: python3-osc-lib
|
||||||
BuildRequires: python3-osc-lib-tests
|
BuildRequires: python3-osc-lib-tests
|
||||||
BuildRequires: python3-oslo-concurrency
|
BuildRequires: python3-oslo-concurrency
|
||||||
BuildRequires: python3-reno
|
BuildRequires: python3-openstackclient
|
||||||
BuildRequires: python3-requests-mock
|
BuildRequires: python3-requests-mock
|
||||||
BuildRequires: python3-testrepository
|
# General requires
|
||||||
BuildArch: noarch
|
Requires: python3-pyyaml
|
||||||
|
Requires: python3-cliff
|
||||||
%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
|
|
||||||
Requires: python3-keystoneauth1
|
Requires: python3-keystoneauth1
|
||||||
Requires: python3-openstackclient
|
Requires: python3-pbr
|
||||||
Requires: python3-osc-lib
|
|
||||||
Requires: python3-oslo-i18n
|
|
||||||
Requires: python3-oslo-utils
|
|
||||||
Requires: python3-requests
|
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
|
%description -n python3-ironic-inspector-client
|
||||||
Ironic Inspector is an auxiliary service for discovering hardware properties
|
This is a client library and tool for Ironic.
|
||||||
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.
|
|
||||||
|
|
||||||
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
|
%prep
|
||||||
%autosetup -p1 -n python-ironic-inspector-client-4.4.0
|
%autosetup -n python-ironic-inspector-client-4.5.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
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_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
|
%check
|
||||||
rm -rf .testrepository
|
#%{__python3} setup.py test
|
||||||
python3 -m unittest discover ironic_inspector_client
|
%{__python3} -m unittest discover ironic_inspector_client.test
|
||||||
|
|
||||||
%files -n python3-ironic-inspector-client
|
%files -n python3-ironic-inspector-client -f filelist.lst
|
||||||
%doc README.rst
|
%dir %{python3_sitelib}/*
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/ironic_inspector_client
|
|
||||||
%{python3_sitelib}/*.egg-info
|
%files help -f doclist.lst
|
||||||
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 22 2021 zhaorenhai <zhaorenhai@hotmail.com> - 4.4.0-2
|
||||||
- Add build requires python3-osc-lib-tests
|
- Add build requires python3-osc-lib-tests
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user