libselinux/python3.patch
Dominique Leuenberger 085241904e Accepting request 656944 from openSUSE:Factory
Revert to previous rev - merged bindings would require python[23] in ring0, which is inacceptable

OBS-URL: https://build.opensuse.org/request/show/656944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=51
2018-12-10 21:42:31 +00:00

14 lines
558 B
Diff

Index: libselinux-2.6/src/Makefile
===================================================================
--- libselinux-2.6.orig/src/Makefile 2016-10-14 17:31:26.000000000 +0200
+++ libselinux-2.6/src/Makefile 2018-03-22 11:33:36.527385495 +0100
@@ -1,7 +1,7 @@
# Support building the Python bindings multiple times, against various Python
# runtimes (e.g. Python 2 vs Python 3) by optionally prefixing the build
# targets with "PYPREFIX":
-PYTHON ?= python
+PYTHON ?= python3
PYPREFIX ?= $(notdir $(PYTHON))
RUBY ?= ruby
RUBYPREFIX ?= $(notdir $(RUBY))