diff --git a/.gitignore b/.gitignore index 4fbfa7c..ae75135 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /ipcalc-0.2.0.tar.gz /ipcalc-0.2.2.tar.gz /ipcalc-0.2.3.tar.gz +/ipcalc-0.2.4.tar.gz diff --git a/ipcalc.spec b/ipcalc.spec index 0eba9a3..9380cc9 100644 --- a/ipcalc.spec +++ b/ipcalc.spec @@ -1,6 +1,6 @@ Name: ipcalc -Version: 0.2.3 -Release: 2%{?dist} +Version: 0.2.4 +Release: 1%{?dist} Summary: IP network address calculator # This is an updated version of ipcalc originally found @@ -8,11 +8,11 @@ Summary: IP network address calculator # https://fedorahosted.org/releases/i/n/initscripts/ License: GPLv2+ -URL: https://github.com/nmav/ipcalc +URL: https://gitlab.com/ipcalc/ipcalc Source0: https://github.com/nmav/ipcalc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: GeoIP-devel -Recommends: GeoIP +BuildRequires: gcc, libmaxminddb-devel +Recommends: geolite2-city, geolite2-country # Explicitly conflict with older initscript packages that ship ipcalc Conflicts: initscripts < 9.63 @@ -32,7 +32,7 @@ or check the validity of an address. %build CFLAGS="${CFLAGS:-%optflags} $RPM_LD_FLAGS" \ - LIBPATH=%{_libdir} make %{?_smp_mflags} + USE_RUNTIME_LINKING=yes USE_GEOIP=no USE_MAXMIND=yes LIBPATH=%{_libdir} make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} @@ -51,6 +51,9 @@ make check %{_mandir}/man1/ipcalc.1* %changelog +* Mon Jul 23 2018 Nikos Mavrogiannopoulos - 0.2.4-1 +- New upstream release + * Fri Jul 13 2018 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 6163d6a..b3264c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ipcalc-0.2.3.tar.gz) = d18bbdecea24929965dbebe120b8c5fefa5bc6a6ba1ce2f1682da189eb5f862c7839959f1a95ce638b5cfe0adb6388f2b0ad9c1761089cc29f4eca32bdbc3ba1 +SHA512 (ipcalc-0.2.4.tar.gz) = aa39ee0b8e431471cddd44097fd67e0c9f54fd61548f5989a7624ad7c2ed26d92230415adbbf8936db207bf100c68b8c3dc65e1b69d57eb87e78a8f65bd3031e