From 881e9241f3a994d5ea953f980185399477d808e6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 23 Feb 2018 16:23:06 +0100 Subject: [PATCH] Use LDFLAGS from redhat-rpm-config --- usb_modeswitch.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 0550d70..49cbc4f 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -2,7 +2,7 @@ Name: usb_modeswitch Version: 2.5.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: USB Modeswitch gets mobile broadband cards in operational mode Summary(de): USB Modeswitch aktiviert UMTS-Karten Group: Applications/System @@ -55,7 +55,8 @@ cp -f %{SOURCE1} device_reference.txt %build -CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} +%{set_build_flags} +make %{?_smp_mflags} %install @@ -78,6 +79,9 @@ make install \ %changelog +* Fri Feb 23 2018 Florian Weimer - 2.5.1-3 +- Use LDFLAGS from redhat-rpm-config + * Fri Feb 09 2018 Fedora Release Engineering - 2.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild