]> git.pld-linux.org Git - packages/libvirt-sandbox.git/commitdiff
- fix python shebang auto/th/libvirt-sandbox-0.6.0-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 27 Apr 2020 19:29:34 +0000 (21:29 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 27 Apr 2020 19:29:34 +0000 (21:29 +0200)
- rel 2

libvirt-sandbox.spec

index 998549a732579a47854ab9ba4c37c4d47a5f12aa..18136ba0c80eda5204082c7452ffa21c0ed3135a 100644 (file)
@@ -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 \
This page took 0.11246 seconds and 4 git commands to generate.