[dstat] change shebang to absolute path (#987015)

Jiří Popelka jpopelka at fedoraproject.org
Mon Jul 22 15:38:27 UTC 2013


commit 966af5187ca6a417e22a16341b4f885424d0720c
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Mon Jul 22 17:37:37 2013 +0200

    change shebang to absolute path (#987015)

 dstat.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/dstat.spec b/dstat.spec
index 52f4486..e65830b 100644
--- a/dstat.spec
+++ b/dstat.spec
@@ -1,7 +1,7 @@
 Summary: Versatile resource statistics tool
 Name: dstat
 Version: 0.7.2
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: GPLv2
 Group: System Environment/Base
 URL: http://dag.wieers.com/home-made/dstat/
@@ -54,6 +54,8 @@ confusion, less mistakes.
 %patch2 -p1 -b .disk-path
 %patch3 -p1 -b .man
 
+sed -i -e '1s,^#!/usr/bin/env python,#!/usr/bin/python,' dstat
+
 %build
 # Make sure the docs are in unix format
 %{__sed} -i 's/\r//' docs/*.html
@@ -79,6 +81,9 @@ cd docs
 %{_datadir}/dstat/*.py*
 
 %changelog
+* Mon Jul 22 2013 Jiri Popelka <jpopelka at redhat.com> - 0.7.2-11
+- change shebang to absolute path (#987015)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list