#3 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by ishcherb. Opened 6 years ago by ishcherb.
rpms/ ishcherb/koji-containerbuild pyambiguous  into  master

file modified
+9 -5
@@ -13,7 +13,7 @@ 

  

  Name:           %{project}

  Version:        0.7.7

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Koji support for building layered container images

  Group:          Applications/System

  
@@ -22,7 +22,7 @@ 

  Source0:        https://github.com/%{owner}/%{project}/archive/%{commit}/%{project}-%{commit}.tar.gz

  BuildArch:      noarch

  

- BuildRequires:  python

+ BuildRequires:  python2

  %if 0%{?fedora}

  BuildRequires:  python2-devel

  BuildRequires:  python2-setuptools
@@ -65,9 +65,9 @@ 

  %if 0%{?rhel} && 0%{?rhel} <= 7

  Requires:   python-osbs-client

  %endif

- Requires:   python-urlgrabber

- Requires:   python-dockerfile-parse

- Requires:   python-pycurl

+ Requires:   python2-urlgrabber

+ Requires:   python2-dockerfile-parse

+ Requires:   python2-pycurl

  

  %description builder

  Builder plugin that extend Koji to communicate with OpenShift build system and
@@ -126,6 +126,10 @@ 

  

  

  %changelog

+ * Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.7.7-3

+ - Update Python 2 dependency declarations to new packaging standards

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

  * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-2

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

  

This package uses names with ambiguous python- prefix in requirements.

According to Fedora Packaging guidelines for Python, packages must use names with either python2- or python3- prefix in requirements where available.
We are aiming to rename python-* dependencies to python2-*, so we can later switch the python-* namespace to Python 3.

This PR is part of Fedora's Switch to Python 3 effort.

Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it. There is no need to build the package right after merge, this change can wait for the next package rebuild.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.

This PR was opened automatically, for source code see here

Pull-Request has been merged by ishcherb

6 years ago