summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch')
-rw-r--r--meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch b/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch
new file mode 100644
index 0000000000..80205a1507
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch
@@ -0,0 +1,47 @@
1Author: Andrei Gherzan <andrei@gherzan.ro>
2
3Python interpreter should be use from PATH - native python - and not the one from
4host.
5
6Upstream-Status: Inappropriate [configuration]
7
8Index: createrepo-0.4.11/genpkgmetadata.py
9===================================================================
10--- createrepo-0.4.11.orig/genpkgmetadata.py 2012-04-10 17:14:05.278649384 +0300
11+++ createrepo-0.4.11/genpkgmetadata.py 2012-04-10 17:14:22.290648886 +0300
12@@ -1,4 +1,4 @@
13-#!/usr/bin/python -t
14+#! /usr/bin/env python
15 # primary functions and glue for generating the repository metadata
16 #
17
18Index: createrepo-0.4.11/modifyrepo.py
19===================================================================
20--- createrepo-0.4.11.orig/modifyrepo.py 2012-04-10 17:14:09.106649272 +0300
21+++ createrepo-0.4.11/modifyrepo.py 2012-04-10 17:14:27.818648725 +0300
22@@ -1,4 +1,4 @@
23-#!/usr/bin/env python
24+#! /usr/bin/env python
25 # $Id$
26 #
27 # This tools is used to insert arbitrary metadata into an RPM repository.
28Index: createrepo-0.4.11/dumpMetadata.py
29===================================================================
30--- createrepo-0.4.11.orig/dumpMetadata.py 2012-04-10 17:19:23.874640068 +0300
31+++ createrepo-0.4.11/dumpMetadata.py 2012-04-10 17:19:34.502639756 +0300
32@@ -1,4 +1,4 @@
33-#!/usr/bin/python -t
34+#! /usr/bin/env python
35 # base classes and functions for dumping out package Metadata
36 #
37 # This program is free software; you can redistribute it and/or modify
38Index: createrepo-0.4.11/readMetadata.py
39===================================================================
40--- createrepo-0.4.11.orig/readMetadata.py 2012-04-10 17:19:19.626640193 +0300
41+++ createrepo-0.4.11/readMetadata.py 2012-04-10 17:19:40.198639590 +0300
42@@ -1,4 +1,4 @@
43-#!/usr/bin/python -t
44+#! /usr/bin/env python
45
46 # This program is free software; you can redistribute it and/or modify
47 # it under the terms of the GNU General Public License as published by