Module: kamailio
Branch: master
Commit: 27047ba17cd600fcb4998cd0325cb0d77e008a5e
URL:
https://github.com/kamailio/kamailio/commit/27047ba17cd600fcb4998cd0325cb0d…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2018-04-04T06:35:42Z
pkg/kamailio/obs: Added acc_json module
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/27047ba17cd600fcb4998cd0325cb0d…
Patch:
https://github.com/kamailio/kamailio/commit/27047ba17cd600fcb4998cd0325cb0d…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index fbc656e8ab..8d00f5a8e9 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -179,6 +179,7 @@ Source:
http://kamailio.org/pub/kamailio/%{ver}/src/%{name}-%{ver}_src.tar.g
URL:
http://kamailio.org/
Vendor:
kamailio.org
BuildRoot: %{_tmppath}/%{name}-%{ver}-buildroot
+Conflicts: kamailio-acc_json < %ver
Conflicts: kamailio-auth-ephemeral < %ver, kamailio-bdb < %ver
Conflicts: kamailio-carrierroute < %ver, kamailio-cpl < %ver
Conflicts: kamailio-dialplan < %ver, kamailio-dnssec < %ver
@@ -218,6 +219,23 @@ platforms or to scale up SIP-to-PSTN gateways, PBX systems or media
servers
like Asterisk™, FreeSWITCH™ or SEMS.
+%if %{with jansson}
+%package acc_json
+Summary: Account transaction information in a JSON dictionary
+Group: System Environment/Daemons
+%if 0%{?suse_version}
+Requires: libjansson
+BuildRequires: libjansson-devel
+%else
+Requires: jansson
+BuildRequires: jansson-devel
+%endif
+
+%description acc_json
+Account transaction information in a JSON dictionary
+%endif
+
+
%package auth-ephemeral
Summary: Functions for authentication using ephemeral credentials
Group: System Environment/Daemons
@@ -1442,6 +1460,14 @@ fi
%{_datadir}/kamailio/dbtext/kamailio/*
+%if %{with jansson}
+%files acc_json
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.acc_json
+%{_libdir}/kamailio/modules/acc_json.so
+%endif
+
+
%files auth-ephemeral
%defattr(-,root,root)
%doc %{_docdir}/kamailio/modules/README.auth_ephemeral