[packages/netatalk] - shebang fix - rel 3

baggins baggins at pld-linux.org
Sun Feb 9 12:57:27 CET 2020


commit ae3ac0a7fe298f0c1a0d74cd6382ac99facb2270
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 9 12:55:29 2020 +0100

    - shebang fix
    - rel 3

 netatalk.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/netatalk.spec b/netatalk.spec
index 3416a3b..f891a4c 100644
--- a/netatalk.spec
+++ b/netatalk.spec
@@ -10,7 +10,7 @@ Summary:	Netatalk AFP fileserver for Apple clients
 Summary(pl.UTF-8):	Netatalk - serwer plików AFP dla klientów Apple
 Name:		netatalk
 Version:	3.1.11
-Release:	2
+Release:	3
 Epoch:		2
 License:	GPL v2+ (with BSD parts)
 Group:		Daemons
@@ -130,7 +130,9 @@ Statyczna biblioteka Netatalk.
 %prep
 %setup -q
 
-%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' contrib/shell_utils/afpstats
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      contrib/shell_utils/afpstats \
+      libevent/event_rpcgen.py
 
 %build
 %{__libtoolize}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netatalk.git/commitdiff/ae3ac0a7fe298f0c1a0d74cd6382ac99facb2270



More information about the pld-cvs-commit mailing list