File obs-server-2.9-0027-dist-Use-python2-instead-of-python-as-interpreter.patch of Package obs-server

From ef88e4cb027bfaf3812157ad5ebb148079d773f0 Mon Sep 17 00:00:00 2001
From: Oleg Girko <ol@infoserver.lv>
Date: Mon, 1 Oct 2018 15:39:05 +0100
Subject: [PATCH] [dist] Use python2 instead of python as interpreter.

Using python command without version number is deprecated.
It should be replaced with python2 or python3.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
---
 dist/bugz-login                       | 2 +-
 dist/elastic_build_service_manager.py | 2 +-
 docs/api/validate_xml.py              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dist/bugz-login b/dist/bugz-login
index 7e2b6cae7b..c1cc5a587a 100755
--- a/dist/bugz-login
+++ b/dist/bugz-login
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 
 # log into bugzilla and write bugz cookie file
 
diff --git a/dist/elastic_build_service_manager.py b/dist/elastic_build_service_manager.py
index 1aa8149af5..4c918fb95f 100644
--- a/dist/elastic_build_service_manager.py
+++ b/dist/elastic_build_service_manager.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 #
 #   This program is free software: you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
diff --git a/docs/api/validate_xml.py b/docs/api/validate_xml.py
index 5499dcd412..7dcca72383 100755
--- a/docs/api/validate_xml.py
+++ b/docs/api/validate_xml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 #
 # Copyright (c) 2010, Sascha Peilicke <saschpe@suse.de>, Novell Inc.
 #
-- 
2.20.1