#2 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by tredaell. Opened 6 years ago by ishcherb.
rpms/ ishcherb/openvswitch pyambiguous  into  master

file modified
+7 -3
@@ -41,7 +41,7 @@ 

  Group: System Environment/Daemons daemon/database/utilities

  URL: http://www.openvswitch.org/

  Version: 2.9.0

- Release: 2%{?commit0:.%{date}git%{shortcommit0}}%{?dist}

+ Release: 3%{?commit0:.%{date}git%{shortcommit0}}%{?dist}

  

  # Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the

  # lib/sflow*.[ch] files are SISSL
@@ -128,11 +128,11 @@ 

  BuildRequires: groff-base graphviz

  # make check dependencies

  BuildRequires: procps-ng

- BuildRequires: pyOpenSSL

+ BuildRequires: python2-pyOpenSSL

  %if %{with check_datapath_kernel}

  BuildRequires: nmap-ncat

  # would be useful but not available in RHEL or EPEL

- #BuildRequires: pyftpdlib

+ #BuildRequires: python2-pyftpdlib

  %endif

  

  %if %{with libcapng}
@@ -734,6 +734,10 @@ 

  %{_unitdir}/ovn-controller-vtep.service

  

  %changelog

+ * Tue Feb 20 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.0-3

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Tue Feb 20 2018 Timothy Redaelli <tredaelli@redhat.com> - 2.9.0-2

  - Align totally with RHEL "Fast Datapath" channel 2.9.0-1

  

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

Commit 68c9d1c fixes this pull-request

Pull-Request has been merged by tredaell

6 years ago

Pull-Request has been merged by tredaell

6 years ago