[packages/opensips] - fix python shebang - rel 6

baggins baggins at pld-linux.org
Sun May 3 12:48:29 CEST 2020


commit 3463c3dc8aa20013e7efcffb325461565d98f95b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 3 12:45:48 2020 +0200

    - fix python shebang
    - rel 6

 opensips.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/opensips.spec b/opensips.spec
index 7be8c48..8c1023c 100644
--- a/opensips.spec
+++ b/opensips.spec
@@ -22,7 +22,7 @@ Summary:	SIP proxy, redirect and registrar server
 Summary(pl.UTF-8):	Serwer SIP przekazujący (proxy), przekierowujący i rejestrujący
 Name:		opensips
 Version:	2.4.0
-Release:	5
+Release:	6
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	http://opensips.org/pub/opensips/%{version}/%{name}-%{version}.tar.gz
@@ -337,6 +337,9 @@ Interfejs RabbitMQ do openSIPS.
 %patch1 -p1
 %patch2 -p1
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      scripts/dbtextdb/dbtextdb.py
+
 %build
 exclude_modules="%{exclude_modules}"
 %if %{without redis}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opensips.git/commitdiff/3463c3dc8aa20013e7efcffb325461565d98f95b



More information about the pld-cvs-commit mailing list