From 75a0b19e59faa8b8e63bffd2128e70ac7b5f2ac8 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Feb 23 2018 15:03:56 +0000 Subject: Use LDFLAGS from redhat-rpm-config --- diff --git a/vconfig.spec b/vconfig.spec index 405e9c1..d574533 100644 --- a/vconfig.spec +++ b/vconfig.spec @@ -1,6 +1,6 @@ Name: vconfig Version: 1.9 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Linux 802.1q VLAN configuration utility License: GPLv2+ Group: System Environment/Base @@ -20,7 +20,7 @@ This tool is deprecated in favor of "ip link" command. %build make clean rm -f vconfig -make CCFLAGS="%{optflags}" STRIP=/bin/true vconfig +make CCFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" STRIP=/bin/true vconfig %install install -D -m755 vconfig ${RPM_BUILD_ROOT}%{_sbindir}/vconfig @@ -32,6 +32,9 @@ install -D -m644 vconfig.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/vconfig.8 %{_mandir}/man8/vconfig.8* %changelog +* Fri Feb 23 2018 Florian Weimer - 1.9-23 +- Use LDFLAGS from redhat-rpm-config + * Fri Feb 09 2018 Fedora Release Engineering - 1.9-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild