#1 Rename python-oslo-context-tests to python2-oslo-context-tests
Closed 3 years ago by zbyszek. Opened 6 years ago by zbyszek.
rpms/ zbyszek/python-oslo-context python3  into  master

file modified
+20 -16
@@ -23,19 +23,19 @@ 

  %{?python_provide:%python_provide python2-%{pkg_name}}

  

  BuildRequires:  python2-devel

- BuildRequires:  python-pbr

+ BuildRequires:  python2-pbr

  BuildRequires:  git

  

  # test dependencies

- BuildRequires:  python-hacking

- BuildRequires:  python-oslotest

- BuildRequires:  python-coverage

- BuildRequires:  python-positional

+ BuildRequires:  python2-hacking

+ BuildRequires:  python2-oslotest

+ BuildRequires:  python2-coverage

+ BuildRequires:  python2-positional

  

- Requires:       python-babel

- Requires:       python-debtcollector >= 1.2.0

- Requires:       python-positional

- Requires:       python-pbr

+ Requires:       python2-babel

+ Requires:       python2-debtcollector >= 1.2.0

+ Requires:       python2-positional

+ Requires:       python2-pbr

  

  %description -n python2-%{pkg_name}

  The OpenStack Oslo context library has helpers to maintain
@@ -43,20 +43,21 @@ 

  The request context is usually populated in the

  WSGI pipeline and used by various modules such as logging.

  

- %package -n python-%{pkg_name}-tests

+ %package -n python2-%{pkg_name}-tests

  Summary:   Tests for OpenStack Oslo context library

  

- Requires:  python-%{pkg_name} = %{version}-%{release}

+ Requires:  python2-%{pkg_name} = %{version}-%{release}

+ %{?python_provide:%python_provide python2-%{pkg_name}-tests}

  

- %description -n python-%{pkg_name}-tests

+ %description -n python2-%{pkg_name}-tests

  Tests for OpenStack Oslo context library

  

  %package -n python-%{pkg_name}-doc

  Summary:        Documentation for the OpenStack Oslo context library

  

- BuildRequires:  python-sphinx

- BuildRequires:  python-openstackdocstheme

- BuildRequires:  python-fixtures

+ BuildRequires:  python2-sphinx

+ BuildRequires:  python2-openstackdocstheme

+ BuildRequires:  python2-fixtures

  

  %description -n python-%{pkg_name}-doc

  Documentation for the OpenStack Oslo context library.
@@ -155,7 +156,7 @@ 

  %license LICENSE

  # %doc doc/build/html

  

- %files -n python-%{pkg_name}-tests

+ %files -n python2-%{pkg_name}-tests

  %license LICENSE

  %{python2_sitelib}/oslo_context/tests

  
@@ -166,6 +167,9 @@ 

  %endif

  

  %changelog

+ * Tue Mar 20 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.17.0-2

+ - Rename python-oslo-context-tests to python2-oslo-context-tests

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.0-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

  

It would be nice to apply this to F28 and rawhide.

@zbyszek, could you please rebase this PR to fix all conflicts?

@churchyard should be able to merge it then.

This is obsolete now that the py2 package is gone.

Pull-Request has been closed by zbyszek

3 years ago