#3 Rename the documentation package back to python-oslo-config-doc
Merged 4 years ago by amoralej. Opened 4 years ago by churchyard.
rpms/ churchyard/python-oslo-config nopy2doc  into  master

file modified
+8 -5
@@ -10,7 +10,7 @@ 

  Name:       python-oslo-config

  Epoch:      2

  Version:    6.8.1

- Release:    1%{?dist}

+ Release:    2%{?dist}

  Summary:    OpenStack common configuration library

  

  Group:      Development/Languages
@@ -32,13 +32,13 @@ 

  parsing library from the Oslo project.

  

  %if 0%{?with_doc}

- %package -n python2-%{pypi_name}-doc

+ %package -n python-%{pypi_name}-doc

  Summary:    Documentation for OpenStack common configuration library

- %{?python_provide:%python_provide python2-%{pypi_name}-doc}

  BuildRequires: python3-sphinx

  BuildRequires: python3-openstackdocstheme

  BuildRequires: python3-sphinx

- %description -n python2-%{pypi_name}-doc

+ Obsoletes:     python2-%{pypi_name}-doc < 2:6.8.1-2

+ %description -n python-%{pypi_name}-doc

  Documentation for the oslo-config library.

  %endif

  
@@ -131,7 +131,7 @@ 

  %endif

  

  %if 0%{?with_doc}

- %files -n python2-%{pypi_name}-doc

+ %files -n python-%{pypi_name}-doc

  %doc doc/build/html

  %license LICENSE

  %endif
@@ -148,6 +148,9 @@ 

  %{python3_sitelib}/*.egg-info

  

  %changelog

+ * Thu May 16 2019 Miro Hrončok <mhroncok@redhat.com> - 2:6.8.1-2

+ - Rename the documentation package back to python-oslo-config-doc

+ 

  * Fri Mar 08 2019 RDO <dev@lists.rdoproject.org> 2:6.8.1-1

  - Update to 6.8.1

  

The documentation is built with python 3, python2-oslo-config-doc
was a bogus name.

Both python-oslo-config-doc or python3-oslo-config-doc would work
but it was previously called python-oslo-config-doc, so I kept it
that way.

Pull-Request has been merged by amoralej

4 years ago