[packages/hivex] - fix perl shebang - rel 11

baggins baggins at pld-linux.org
Mon Mar 23 18:24:07 CET 2020


commit 366b10bae6d7b6317d5f8e3eca37d97620984701
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 23 18:21:49 2020 +0100

    - fix perl shebang
    - rel 11

 hivex.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/hivex.spec b/hivex.spec
index 43071c9..7fe0236 100644
--- a/hivex.spec
+++ b/hivex.spec
@@ -13,7 +13,7 @@ Summary:	Windows Registry "hive" extraction library
 Summary(pl.UTF-8):	Biblioteka do wydobywania danych z plików "hive" Rejestru Windows
 Name:		hivex
 Version:	1.3.14
-Release:	10
+Release:	11
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://libguestfs.org/download/hivex/%{name}-%{version}.tar.gz
@@ -155,6 +155,9 @@ Wiązania języka Ruby do biblioteki hivex.
 %prep
 %setup -q
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
+      regedit/hivexregedit
+
 %build
 %{__aclocal}
 %{__automake}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hivex.git/commitdiff/366b10bae6d7b6317d5f8e3eca37d97620984701



More information about the pld-cvs-commit mailing list