Compile DHCP lease management utils with RPM_OPT_FLAGS

This commit is contained in:
Pádraig Brady 2012-02-11 15:09:45 +00:00
parent 389b91041c
commit edbef00513

View File

@ -11,7 +11,7 @@
Name: dnsmasq Name: dnsmasq
Version: 2.59 Version: 2.59
Release: 4%{?extraversion}%{?dist} Release: 5%{?extraversion}%{?dist}
Summary: A lightweight DHCP/caching DNS server Summary: A lightweight DHCP/caching DNS server
Group: System Environment/Daemons Group: System Environment/Daemons
@ -65,8 +65,10 @@ sed -i 's|#conf-dir=/etc/dnsmasq.d|conf-dir=/etc/dnsmasq.d|g' dnsmasq.conf.examp
%build %build
# Note the main Makefile handles RPM_OPT_FLAGS internally,
# while we need to explicitly set it for the contrib Makefile
make %{?_smp_mflags} make %{?_smp_mflags}
make -C contrib/wrt %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" make -C contrib/wrt %{?_smp_mflags}
%install %install
@ -137,6 +139,9 @@ fi
%{_mandir}/man1/dhcp_* %{_mandir}/man1/dhcp_*
%changelog %changelog
* Sat Feb 11 2012 Pádraig Brady <P@draigBrady.com> - 2.59-5
- Compile DHCP lease management utils with RPM_OPT_FLAGS
* Thu Feb 9 2012 Pádraig Brady <P@draigBrady.com> - 2.59-4 * Thu Feb 9 2012 Pádraig Brady <P@draigBrady.com> - 2.59-4
- Include DHCP lease management utils in a subpackage - Include DHCP lease management utils in a subpackage