forked from pool/python-configshell-fb
- Converting RPM SPEC file to singlespec format (bsc#1045332), adding patch: * configshell-fb-example-should-not-specify-path.patch - Fix targetcli.service problem when TERM not set (bsc#1071194), adding patch (from LSZhu): * configshell-fb-Handle-if-TERM-is-not-set.patch - Moved build requirement on urwid to runtime requirement, as suggested by scarabeus_iv - ran spec-cleaner to clean up SPEC file - Converted from manually-added configshell-fb tar file to tar_scm service-generated file by adding _service and _servicedata OBS-URL: https://build.opensuse.org/request/show/556320 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configshell-fb?expand=0&rev=11
20 lines
625 B
Diff
20 lines
625 B
Diff
From: Lee Duncan <lduncan@suse.com>
|
|
Date: Fri Dec 8 15:38:50 PST 2017
|
|
Subject: remove example dependency on /usr/bin/python
|
|
|
|
All of the code works with python2 or python3, so remove
|
|
the use of the full /usr/bin/python path in the example
|
|
script so building is easier.
|
|
|
|
Signed-off-by: Lee Duncan <lduncan@suse.com>
|
|
---
|
|
diff -aurp a/examples/myshell b/examples/myshell
|
|
--- a/examples/myshell 2017-03-01 15:21:57.000000000 -0800
|
|
+++ b/examples/myshell 2017-12-08 15:33:29.672794872 -0800
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/python
|
|
+#!/usr/bin/env python
|
|
'''
|
|
This file is part of ConfigShell.
|
|
Copyright (c) 2011-2013 by Datera, Inc
|