Module: kamailio
Branch: master
Commit: ba6ab04e06b0dfd66874749e0cb1225f2ee273ac
URL:
https://github.com/kamailio/kamailio/commit/ba6ab04e06b0dfd66874749e0cb1225…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2024-09-18T13:59:37+03:00
pkg/kamailio: removed geoip module rpm packaging [skip ci]
fixes #GH3886
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/ba6ab04e06b0dfd66874749e0cb1225…
Patch:
https://github.com/kamailio/kamailio/commit/ba6ab04e06b0dfd66874749e0cb1225…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index c182edb28a7..bf1d35bc50c 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -8,7 +8,6 @@
%bcond_without cnxcc
%bcond_with dnssec
%bcond_without evapi
-%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
%bcond_without jansson
@@ -45,7 +44,6 @@
%bcond_without cnxcc
%bcond_with dnssec
%bcond_without evapi
-%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
%bcond_without jansson
@@ -92,7 +90,6 @@
%bcond_without cnxcc
%bcond_with dnssec
%bcond_without evapi
-%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
%bcond_without jansson
@@ -139,7 +136,6 @@
%bcond_without cnxcc
%bcond_with dnssec
%bcond_without evapi
-%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
%bcond_without jansson
@@ -169,7 +165,6 @@
%bcond_without cnxcc
%bcond_with dnssec
%bcond_with evapi
-%bcond_without geoip
%bcond_without http_async_client
%bcond_without ims
%bcond_without jansson
@@ -466,16 +461,14 @@ suspended when sending the event, to be resumed at a later point,
maybe triggere
%endif
-%if %{with geoip}
%package geoip
Summary: MaxMind GeoIP support for Kamailio
Group: %{PKGGROUP}
-Requires: GeoIP, libmaxminddb, kamailio = %ver
-BuildRequires: GeoIP-devel, libmaxminddb-devel
+Requires: libmaxminddb, kamailio = %ver
+BuildRequires: libmaxminddb-devel
%description geoip
MaxMind GeoIP support for Kamailio.
-%endif
%package gzcompress
@@ -1226,10 +1219,7 @@ make every-module skip_modules="app_mono db_cassandra
db_oracle iptrtpproxy \
%if %{with evapi}
kev \
%endif
-%if %{with geoip}
- kgeoip \
kgeoip2 \
-%endif
kgzcompress \
%if %{with http_async_client}
khttp_async \
@@ -1339,10 +1329,7 @@ make install-modules-all skip_modules="app_mono db_cassandra
db_oracle \
%if %{with evapi}
kev \
%endif
-%if %{with geoip}
- kgeoip \
kgeoip2 \
-%endif
kgzcompress \
%if %{with http_async_client}
khttp_async \
@@ -1935,14 +1922,10 @@ fi
%endif
-%if %{with geoip}
%files geoip
%defattr(-,root,root)
-%doc %{_docdir}/kamailio/modules/README.geoip
%doc %{_docdir}/kamailio/modules/README.geoip2
-%{_libdir}/kamailio/modules/geoip.so
%{_libdir}/kamailio/modules/geoip2.so
-%endif
%files gzcompress