[ovs-git] [openvswitch/ovs] 72e6cd: rhel: openvswitch-fedora.spec.in: Specify PYTHON a...

GitHub noreply at github.com
Thu May 10 19:03:49 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 72e6cd990e13e7d853988780ef7f9761460a661f
      https://github.com/openvswitch/ovs/commit/72e6cd990e13e7d853988780ef7f9761460a661f
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2018-05-10 (Thu, 10 May 2018)

  Changed paths:
    M rhel/openvswitch-fedora.spec.in

  Log Message:
  -----------
  rhel: openvswitch-fedora.spec.in: Specify PYTHON and PYTHON3

Currently python2 and python3 binaries are searched by following the
PATHs, but, on Fedora, the python2 package does not provides /bin/python2
and so if the PATH contains /bin before /usr/bin (for example by using
the ansible poc) then the resulting RPM file will require /bin/python2
instead of /usr/bin/python2 and this breaks some tools (for example
createrepo).

This patch specify the full path of python2 interpreter and,
if python3-openvswitch package is built, the full path of python3
interpreter.

Reported-by: Ansis Atteka <ansisatteka at gmail.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2018-May/346796.html
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Acked-by: Ansis Atteka <aatteka at ovn.org>



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list