]> git.pld-linux.org Git - packages/opensips.git/blobdiff - opensips.spec
- fix python shebang
[packages/opensips.git] / opensips.spec
index b87d715184cfffb289554b8df7e0fcb3851888cb..8c1023c06651c03747ecaa0c6fe32877baf6df72 100644 (file)
@@ -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:       1
+Release:       6
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://opensips.org/pub/opensips/%{version}/%{name}-%{version}.tar.gz
@@ -32,6 +32,7 @@ Source2:      %{name}.sysconfig
 Source3:       %{name}.service
 Patch0:                x32.patch
 Patch1:                make.patch
+Patch2:                json-c-0.14.patch
 URL:           http://www.opensips.org/
 %{?with_geoip:BuildRequires:   GeoIP-devel}
 %{?with_osp:BuildRequires:     OSPToolkit}
@@ -334,6 +335,10 @@ Interfejs RabbitMQ do openSIPS.
 %setup -q
 %patch0 -p1
 %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}"
This page took 0.036751 seconds and 4 git commands to generate.