diff --git a/debian/control b/debian/control index 466b1c74..26e02471 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,8 @@ Priority: optional Maintainer: Jerry Lundström Build-Depends: debhelper (>= 10), build-essential, automake, autoconf, libpcap-dev, netbase, pkg-config, libmaxminddb-dev, - libdnswire-dev (>= 0.3.0), libuv1-dev, python3 (>= 3.5) + libdnswire-dev (>= 0.3.0), libuv1-dev, python3 (>= 3.5), + libgeoip-dev | libmaxminddb-dev Standards-Version: 3.9.4 Homepage: https://www.dns-oarc.net/oarc/data/dsc Vcs-Git: https://github.com/DNS-OARC/dsc.git diff --git a/rpm/dsc.spec b/rpm/dsc.spec index 41bbc260..5f3b29de 100644 --- a/rpm/dsc.spec +++ b/rpm/dsc.spec @@ -12,6 +12,15 @@ Source0: https://www.dns-oarc.net/files/dsc/%{name}-%{version}.tar.gz?/%{ BuildRequires: libpcap-devel BuildRequires: libmaxminddb-devel +%if 0%{?fedora} +BuildRequires: GeoIP-devel +%endif +%if 0%{?centos} == 0 && 0%{?el7} +BuildRequires: GeoIP-devel +%endif +%if 0%{?centos} == 0 && 0%{?el8} +BuildRequires: GeoIP-devel +%endif BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool