diff --git a/ipcalc.spec b/ipcalc.spec index eb4a031..faefff5 100644 --- a/ipcalc.spec +++ b/ipcalc.spec @@ -1,6 +1,6 @@ Name: ipcalc Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: IP network address calculator # This is an updated version of ipcalc originally found @@ -31,7 +31,8 @@ or check the validity of an address. %setup -q %build -CFLAGS="${CFLAGS:-%optflags}" LIBPATH=%{_libdir} make %{?_smp_mflags} +CFLAGS="${CFLAGS:-%optflags}" LDFLAGS="$RPM_LD_FLAGS" \ + LIBPATH=%{_libdir} make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} @@ -50,6 +51,9 @@ make check %{_mandir}/man1/ipcalc.1* %changelog +* Thu Feb 1 2018 Florian Weimer - 0.2.2-2 +- Build with linker flags from redhat-rpm-config + * Tue Jan 02 2018 Nikos Mavrogiannopoulos - 0.2.2-1 - New upstream release