diff --git python-openstackclient/python-openstackclient.spec python-openstackclient/python-openstackclient.spec.tmp index d01772be9c..e460da6905 100644 --- python-openstackclient/python-openstackclient.spec +++ python-openstackclient/python-openstackclient.spec.tmp @@ -1,7 +1,7 @@ %{!?upstream_version: %global upstream_version %{version}%{?milestone}} Name: python-openstackclient Version: 3.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OpenStack Command-line Client License: ASL 2.0 @@ -43,6 +43,15 @@ BuildRequires: python-requestsexceptions BuildRequires: python-openstacksdk BuildRequires: python-osprofiler +%global _description\ +python-openstackclient is a unified command-line client for the OpenStack APIs.\ +It is a thin wrapper to the stock python-*client modules that implement the\ +actual REST API client actions. + +%description %_description + +%package -n python2-openstackclient +Summary: %summary Requires: python-pbr Requires: python-babel Requires: python-cliff @@ -62,11 +71,9 @@ Requires: python-requests >= 2.5.2 Requires: python-stevedore Requires: python-os-client-config Requires: python-osc-lib +%{?python_provide:%python_provide python2-openstackclient} -%description -python-openstackclient is a unified command-line client for the OpenStack APIs. -It is a thin wrapper to the stock python-*client modules that implement the -actual REST API client actions. +%description -n python2-openstackclient %_description %package doc Summary: Documentation for OpenStack Command-line Client @@ -118,7 +125,7 @@ mv %{buildroot}%{python2_sitelib}/openstackclient/locale %{buildroot}%{_datadir} %check %{__python2} setup.py test -%files -f openstackclient.lang +%files -n python2-openstackclient -f openstackclient.lang %license LICENSE %doc README.rst %{_bindir}/openstack @@ -131,6 +138,10 @@ mv %{buildroot}%{python2_sitelib}/openstackclient/locale %{buildroot}%{_datadir} %doc html %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 3.2.0-4 +- Python 2 binary package renamed to python2-openstackclient + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild