Blame SOURCES/dblatex-0.3.10-fix-shebangs.patch

c9b0fd
From 11df13b7bfe0de918754d61dd431cad5c6349d39 Mon Sep 17 00:00:00 2001
c9b0fd
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
c9b0fd
Date: Tue, 26 Jun 2018 18:11:24 +0200
c9b0fd
Subject: [PATCH 4/4] Fix shebangs
c9b0fd
c9b0fd
---
c9b0fd
 lib/dbtexmf/dblatex/xetex/fontspec.py  | 2 +-
c9b0fd
 lib/dbtexmf/dblatex/xetex/fsconfig.py  | 2 +-
c9b0fd
 lib/dbtexmf/dblatex/xetex/fsencoder.py | 2 +-
c9b0fd
 scripts/dblatex                        | 2 +-
c9b0fd
 setup.py                               | 4 ++--
c9b0fd
 5 files changed, 6 insertions(+), 6 deletions(-)
c9b0fd
c9b0fd
diff --git a/lib/dbtexmf/dblatex/xetex/fontspec.py b/lib/dbtexmf/dblatex/xetex/fontspec.py
c9b0fd
index 767d003..da6a3e0 100644
c9b0fd
--- a/lib/dbtexmf/dblatex/xetex/fontspec.py
c9b0fd
+++ b/lib/dbtexmf/dblatex/xetex/fontspec.py
c9b0fd
@@ -1,4 +1,4 @@
c9b0fd
-#!/usr/bin/env python
c9b0fd
+#!/usr/bin/python3
c9b0fd
 # -*- coding: utf-8 -*-
c9b0fd
 # Time-stamp: <2008-06-23 22:21:26 ah>
c9b0fd
 
c9b0fd
diff --git a/lib/dbtexmf/dblatex/xetex/fsconfig.py b/lib/dbtexmf/dblatex/xetex/fsconfig.py
c9b0fd
index 06c9adf..0477d35 100644
c9b0fd
--- a/lib/dbtexmf/dblatex/xetex/fsconfig.py
c9b0fd
+++ b/lib/dbtexmf/dblatex/xetex/fsconfig.py
c9b0fd
@@ -1,4 +1,4 @@
c9b0fd
-#!/usr/bin/env python
c9b0fd
+#!/usr/bin/python3
c9b0fd
 # -*- coding: utf-8 -*-
c9b0fd
 # Time-stamp: <2008-06-23 22:21:26 ah>
c9b0fd
 
c9b0fd
diff --git a/lib/dbtexmf/dblatex/xetex/fsencoder.py b/lib/dbtexmf/dblatex/xetex/fsencoder.py
c9b0fd
index 6175adf..48a0fd2 100644
c9b0fd
--- a/lib/dbtexmf/dblatex/xetex/fsencoder.py
c9b0fd
+++ b/lib/dbtexmf/dblatex/xetex/fsencoder.py
c9b0fd
@@ -1,4 +1,4 @@
c9b0fd
-#!/usr/bin/env python
c9b0fd
+#!/usr/bin/python3
c9b0fd
 # -*- coding: utf-8 -*-
c9b0fd
 # Time-stamp: <2008-06-23 22:21:26 ah>
c9b0fd
 
c9b0fd
diff --git a/scripts/dblatex b/scripts/dblatex
c9b0fd
index aa199d0..a42ea49 100755
c9b0fd
--- a/scripts/dblatex
c9b0fd
+++ b/scripts/dblatex
c9b0fd
@@ -1,4 +1,4 @@
c9b0fd
-#! /usr/bin/env python
c9b0fd
+#! /usr/bin/python3
c9b0fd
 import sys
c9b0fd
 import os
c9b0fd
 
c9b0fd
diff --git a/setup.py b/setup.py
c9b0fd
index 799c1d2..0881d58 100644
c9b0fd
--- a/setup.py
c9b0fd
+++ b/setup.py
c9b0fd
@@ -1,4 +1,4 @@
c9b0fd
-#!/usr/bin/env python
c9b0fd
+#!/usr/bin/python3
c9b0fd
 # -*- coding: ISO-8859-1 -*-
c9b0fd
 #
c9b0fd
 # dblatex python setup script - See the COPYRIGHT
c9b0fd
@@ -33,7 +33,7 @@ sys.path.append("lib")
c9b0fd
 #
c9b0fd
 class BuildScripts(build_scripts):
c9b0fd
 
c9b0fd
-    SHELL_SCRIPT = """#!%(env_executable)s%(env_args)s%(py_executable)s
c9b0fd
+    SHELL_SCRIPT = """#!/usr/bin/python3
c9b0fd
 import sys
c9b0fd
 import os
c9b0fd
 
c9b0fd
-- 
c9b0fd
2.17.1
c9b0fd