From: Jan Rękorajski Date: Sun, 3 May 2020 10:45:48 +0000 (+0200) Subject: - fix python shebang X-Git-Tag: auto/th/opensips-2.4.0-6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopensips.git;a=commitdiff_plain;h=3463c3d - fix python shebang - rel 6 --- 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}