[packages/pastebinit] generate dependency on python2 interpreter

glen glen at pld-linux.org
Wed Oct 30 10:51:45 CET 2013


commit 3db058ef1cac7fb31144cabb0eea732d1f3a6e41
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 30 11:51:26 2013 +0200

    generate dependency on python2 interpreter

 pastebinit.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pastebinit.spec b/pastebinit.spec
index 44a6abc..acb591d 100644
--- a/pastebinit.spec
+++ b/pastebinit.spec
@@ -2,7 +2,7 @@ Summary:	Command line Pastebin
 Summary(pl.UTF-8):	Pastebin działający z linii poleceń
 Name:		pastebinit
 Version:	1.3.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications
 Source0:	http://launchpad.net/pastebinit/trunk/%{version}/+download/%{name}-%{version}.tar.gz
@@ -31,6 +31,7 @@ standardowego wyjścia, a on przeklei informacje na Pastebin.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e '1s,^#!.*python,#!%{__python},' pastebinit
 %{__sed} -i -e 's#http://pastebin.com#http://pld.pastebin.com#g' pastebinit
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pastebinit.git/commitdiff/3db058ef1cac7fb31144cabb0eea732d1f3a6e41



More information about the pld-cvs-commit mailing list