Module: kamailio Branch: master Commit: 71248a2f7394b69c85f030f103afb2a8f6a5a49e URL: https://github.com/kamailio/kamailio/commit/71248a2f7394b69c85f030f103afb2a8...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-06-23T19:00:13+02:00
pkg: obs/kamailio.spec - set version to 5.4.0
- set packager to Sergey Safarov - add more build requirements, including those from GH #2368
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff: https://github.com/kamailio/kamailio/commit/71248a2f7394b69c85f030f103afb2a8... Patch: https://github.com/kamailio/kamailio/commit/71248a2f7394b69c85f030f103afb2a8...
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec index 059aa431a9..7ca4184cde 100644 --- a/pkg/kamailio/obs/kamailio.spec +++ b/pkg/kamailio/obs/kamailio.spec @@ -1,5 +1,5 @@ %define name kamailio -%define ver 5.2.0 +%define ver 5.4.0 %define rel dev1.0%{dist}
%if 0%{?fedora} @@ -238,11 +238,11 @@ %endif
-Summary: Kamailio (former OpenSER) - the Open Source SIP Server +Summary: Kamailio - the Open Source SIP Server Name: %name Version: %ver Release: %rel -Packager: Peter Dunkley peter@dunkley.me.uk +Packager: Sergey Safarov s.safarov@gmail.com License: GPL-2.0 Group: %{PKGGROUP} Source: http://kamailio.org/pub/kamailio/%%7Bver%7D/src/%%7Bname%7D-%%7Bver%7D_src.t... @@ -271,11 +271,20 @@ Conflicts: kamailio-utils < %ver, kamailio-websocket < %ver Conflicts: kamailio-xhttp-pi < %ver, kamailio-xmlops < %ver Conflicts: kamailio-xmlrpc < %ver, kamailio-xmpp < %ver Conflicts: kamailio-uuid < %ver -BuildRequires: bison, flex +BuildRequires: bison, flex, which, make, gcc, gcc-c++ %if 0%{?rhel} != 6 Requires: systemd BuildRequires: systemd-devel %endif + +%if 0%{?rhel} || 0%{?centos_ver} +%if 0%{?rhel} > 6 || 0%{?centos_ver} > 6 +BuildRequires: pkgconfig +%endif +%else +BuildRequires: pkgconfig +%endif + %if 0%{?suse_version} == 1315 || 0%{?suse_version} == 1330 Requires: filesystem BuildRequires: shadow