From 438d88089c441f803192b431ee55f5f35cdf4d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 9 Dec 2015 09:02:47 +0100 Subject: [PATCH] Pass linker flags properly --- whois.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/whois.spec b/whois.spec index 69fc887..5bfc63c 100644 --- a/whois.spec +++ b/whois.spec @@ -1,6 +1,6 @@ Name: whois Version: 5.2.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Improved WHOIS client Group: Applications/Internet License: GPLv2+ @@ -38,7 +38,7 @@ addresses and network names. %build make CONFIG_FILE="%{_sysconfdir}/%{cfgfile}" HAVE_LIBIDN=1 HAVE_ICONV=1 \ - CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} + CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}" %{?_smp_mflags} %install @@ -81,6 +81,9 @@ fi %changelog +* Wed Dec 09 2015 Petr Pisar - 5.2.11-2 +- Pass linker flags properly + * Tue Dec 08 2015 Petr Pisar - 5.2.11-1 - 5.2.11 bump