Module: kamailio
Branch: master
Commit: 224f16431c2a7777c87d7926b361574e25f27ef6
URL:
https://github.com/kamailio/kamailio/commit/224f16431c2a7777c87d7926b361574…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-06-24T17:49:24+03:00
pkg: obs/kamailio.spec - simplified pkgconfig requirements
for more detail pleae look GH #2368
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/224f16431c2a7777c87d7926b361574…
Patch:
https://github.com/kamailio/kamailio/commit/224f16431c2a7777c87d7926b361574…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 7ca4184cde..37c67d294e 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -271,20 +271,12 @@ 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, which, make, gcc, gcc-c++
+BuildRequires: bison, flex, which, make, gcc, gcc-c++, pkgconfig
%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