!13 Update package python-dracclient of version 3.0.0

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-11-09 11:05:25 +00:00 committed by Gitee
commit 92bd29eac8
3 changed files with 35 additions and 26 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,44 +1,49 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-dracclient Name: python-dracclient
Version: 5.1.0 Version: 3.0.0
Release: 3 Release: 1
Summary: Library for managing machines with Dell iDRAC cards Summary: Library for managing machines with Dell iDRAC cards
License: Apache-2 License: Apache-2.0
URL: https://launchpad.net/python-dracclient URL: https://launchpad.net/python-dracclient
Source0: https://files.pythonhosted.org/packages/a9/40/bd311efeacb402ea967a4c7adfadb9c4ef077de66eff14812d95d30c16d6/python-dracclient-5.1.0.tar.gz Source0: https://files.pythonhosted.org/packages/2a/27/95f3b6c2cd7e5c0e0cc15123678683572036edfce1c59c55bd79c5580914/python-dracclient-3.0.0.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-lxml
Requires: python3-pbr
Requires: python3-requests
%description %description
Library for managing machines with Dell iDRAC cards. Library for managing machines with Dell iDRAC cards.
%package -n python3-dracclient %package -n python3-dracclient
Summary: Library for managing machines with Dell iDRAC cards Summary: Library for managing machines with Dell iDRAC cards
Provides: python-dracclient Provides: python-dracclient
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-lxml
BuildRequires: python3-requests
# General requires
Requires: python3-lxml
Requires: python3-pbr
Requires: python3-requests
%description -n python3-dracclient %description -n python3-dracclient
Library for managing machines with Dell iDRAC cards. Library for managing machines with Dell iDRAC cards.
%package help %package help
Summary: Development documents and examples for python-dracclient Summary: Library for managing machines with Dell iDRAC cards
Provides: python3-dracclient-doc Provides: python3-dracclient-doc
%description help %description help
Library for managing machines with Dell iDRAC cards. Library for managing machines with Dell iDRAC cards.
%prep %prep
%autosetup -n python-dracclient-5.1.0 %autosetup -n python-dracclient-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -65,6 +70,7 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%files -n python3-dracclient -f filelist.lst %files -n python3-dracclient -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -72,6 +78,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Nov 08 2021 OpenStack_SIG <openstack@openeuler.org> - 3.0.0-1
- Upgrade package python3-dracclient to version 3.0.0
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com> * Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires - Add buildrequires
* Thu Jan 14 2021 Python_Bot <Python_Bot@openeuler.org> * Thu Jan 14 2021 Python_Bot <Python_Bot@openeuler.org>