!6 Fix wrong package name

From: @the-moon-is-blue
Reviewed-by: @joec88
Signed-off-by: @joec88
This commit is contained in:
openeuler-ci-bot 2021-01-26 18:51:57 +08:00 committed by Gitee
commit 65098c5978

View File

@ -1,14 +1,10 @@
%global _empty_manifest_terminate_build 0
%global common_desc \
This is a client for the OpenStack Glance API. There's a Python API (the \
glanceclient module), and a command-line script (glance). Each implements \
100% of the OpenStack Glance API
Name: python-python-glanceclient
Version: 3.2.2
Release: 1
Release: 2
Summary: OpenStack Image API Client Library
License: Apache License, Version 2.0
License: Apache-2.0
URL: https://docs.openstack.org/python-glanceclient/latest/
Source0: https://files.pythonhosted.org/packages/d5/96/39bcfbf7fc957741b738c1e3160c24a2068bb1014d254bb04951adf6cf02/python-glanceclient-3.2.2.tar.gz
BuildArch: noarch
@ -38,21 +34,27 @@ BuildRequires: python3-sphinxcontrib-apidoc
BuildRequires: python3-warlock
%description
%{common_desc}
This is a client for the OpenStack Glance API. There's a Python API (the \
glanceclient module), and a command-line script (glance). Each implements \
100% of the OpenStack Glance API
%package -n python3-python-glanceclient
%package -n python3-glanceclient
Summary: OpenStack Image API Client Library
Provides: python-python-glanceclient
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-python-glanceclient
%{common_desc}
%description -n python3-glanceclient
This is a client for the OpenStack Glance API. There's a Python API (the \
glanceclient module), and a command-line script (glance). Each implements \
100% of the OpenStack Glance API
%package help
Summary: Development documents and examples for python-glanceclient
Provides: python3-python-glanceclient-doc
Provides: python3-glanceclient-doc
%description help
%{common_desc}
This is a client for the OpenStack Glance API. There's a Python API (the \
glanceclient module), and a command-line script (glance). Each implements \
100% of the OpenStack Glance API
%prep
%autosetup -n python-glanceclient-3.2.2
@ -88,7 +90,7 @@ popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-python-glanceclient -f filelist.lst
%files -n python3-glanceclient -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst