Switch all remaining Python references to the Python 3 interpreter.

This commit is contained in:
Chris PeBenito 2018-05-31 17:41:59 -04:00
parent 4b91cc3a18
commit ef6e79a082
6 changed files with 8 additions and 7 deletions

View File

@ -3,7 +3,7 @@ Reference Policy has the following build requirements:
* libsemanage 2.6
* checkpolicy 2.6
* policycoreutils 2.6
* Python >= 2.6
* Python >= 3.4
* GCC
To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:

View File

@ -71,7 +71,7 @@ AWK ?= gawk
GREP ?= egrep
INSTALL ?= install
M4 ?= m4 -E -E
PYTHON ?= python -t -t -E -W error
PYTHON ?= python3 -t -t -E -W error
SED ?= sed
SORT ?= LC_ALL=C sort
UMASK ?= umask

1
Vagrantfile vendored
View File

@ -36,7 +36,6 @@ Vagrant.configure("2") do |config|
make \
kernel-devel \
selinux-policy-devel \
libselinux-python \
libselinux-python3 \
>/dev/null

View File

@ -5,7 +5,7 @@ INSTALL ?= install
M4 ?= m4
SED ?= sed
EINFO ?= echo
PYTHON ?= python
PYTHON ?= python3
CUT ?= cut
NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config))

View File

@ -18,7 +18,7 @@ BuildArch: noarch
# FIXME Need to ensure these have correct versions
BuildRequires: checkpolicy >= 2.1.8
BuildRequires: policycoreutils >= 2.1.10
BuildRequires: python >= 2.6
BuildRequires: python >= 3.4
BuildRequires: libsepol >= 2.1.4
BuildRequires: libsemanage >= 2.0.29
BuildRequires: m4 make gcc

View File

@ -11,8 +11,10 @@ License: GPL
Group: System Environment/Base
PreReq: m4 make policycoreutils kernel gcc
Requires: checkpolicy >= 1.33.1
Requires: python make m4
BuildRequires: make m4 python
Requires: python >= 3.4
Requires: make m4
BuildRequires: make m4
BuildRequires: python >= 3.4
Obsoletes: policy-sources
Source: refpolicy-%{version}.tar.bz2
Url: http://oss.tresys.com/projects/refpolicy