From 3246a49b7ea14b203fcd2d6264ae51449f3d6140 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Nov 09 2020 06:18:49 +0000 Subject: new release 2.2.0 --- diff --git a/ipv6calc.spec b/ipv6calc.spec index 4582d1a..a0fdaf2 100644 --- a/ipv6calc.spec +++ b/ipv6calc.spec @@ -82,13 +82,17 @@ Requires: libdb %if %{enable_mmdb} BuildRequires: libmaxminddb-devel +%if 0%{?rhel} >= 8 Recommends: libmaxminddb %endif +%endif %if %{enable_ip2location} BuildRequires: IP2Location-devel >= 8.2.0 +%if 0%{?rhel} >= 8 Recommends: IP2Location >= 8.2.0 %endif +%endif # RPM license macro detector %define rpm_license_extra %(echo "%{_defaultlicensedir}" | grep -q defaultlicensedir && echo 0 || echo 1)