[packages/libvirt-sandbox] - fix python shebang - rel 2

baggins baggins at pld-linux.org
Mon Apr 27 21:32:15 CEST 2020


commit 8206b04c5b9bcd289fb23ffa0336e2e3da138037
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Apr 27 21:29:34 2020 +0200

    - fix python shebang
    - rel 2

 libvirt-sandbox.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/libvirt-sandbox.spec b/libvirt-sandbox.spec
index 998549a..18136ba 100644
--- a/libvirt-sandbox.spec
+++ b/libvirt-sandbox.spec
@@ -2,7 +2,7 @@ Summary:	API for building application sandboxes using libvirt
 Summary(pl.UTF-8):	API do tworzenia sandboksów aplikacyjnych przy użyciu libvirt
 Name:		libvirt-sandbox
 Version:	0.6.0
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://libvirt.org/libvirt/sandbox/%{name}-%{version}.tar.gz
@@ -94,6 +94,9 @@ Bashowe uzupełnianie parametrów dla polecenia virt-sandbox-service.
 # what is it? seems not required
 %{__sed} -i -e '/Requires: sandbox-2.0/d' libvirt-sandbox-1.0.pc.in
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      bin/virt-sandbox-service
+
 %build
 %configure \
 	--disable-silent-rules \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt-sandbox.git/commitdiff/8206b04c5b9bcd289fb23ffa0336e2e3da138037



More information about the pld-cvs-commit mailing list