From 1cab8da04ea50371912bc853e8b977d72a5cea51 Mon Sep 17 00:00:00 2001 From: "gaos50@chinaunicom.cn" Date: Tue, 26 Jan 2021 17:41:33 +0800 Subject: [PATCH] Fix wrong package name --- python-glanceclient.spec | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/python-glanceclient.spec b/python-glanceclient.spec index 15a4880..6565288 100644 --- a/python-glanceclient.spec +++ b/python-glanceclient.spec @@ -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