Blame rabbitmq-common-0002-force-python3.patch

403200
From: Lon Hohberger <lhh@redhat.com>
403200
Date: Tue, 29 Jan 2019 11:36:11 -0500
403200
Subject: [PATCH] force python3
403200
403200
Signed-off-by: Lon Hohberger <lhh@redhat.com>
403200
403200
diff --git a/codegen.py b/codegen.py
a1fb4b
index 787e852..3bb5e2f 100755
403200
--- a/codegen.py
403200
+++ b/codegen.py
John Eckersberg 327546
@@ -1,2 +1,2 @@
403200
-#!/usr/bin/env python
403200
+#!/usr/bin/python3
403200
 
John Eckersberg 327546
##  This Source Code Form is subject to the terms of the Mozilla Public
John Eckersberg 327546
##  License, v. 2.0. If a copy of the MPL was not distributed with this
403200
diff --git a/development.post.mk b/development.post.mk
403200
index 65708db..ec905a4 100644
403200
--- a/development.post.mk
403200
+++ b/development.post.mk
403200
@@ -2,7 +2,7 @@
403200
 # Framing sources generation.
403200
 # --------------------------------------------------------------------
403200
 
403200
-PYTHON       ?= python
403200
+PYTHON       ?= python3
403200
 CODEGEN       = $(CURDIR)/codegen.py
403200
 CODEGEN_DIR  ?= $(DEPS_DIR)/rabbitmq_codegen
403200
 CODEGEN_AMQP  = $(CODEGEN_DIR)/amqp_codegen.py