From 8ef2d301b441d6e5a76fc2577f9ea817373514d3 Mon Sep 17 00:00:00 2001 From: Jan Šafránek Date: Apr 16 2009 10:50:52 +0000 Subject: Fix compilation flags, debuginfo package is correctly generated now --- diff --git a/freeipmi.spec b/freeipmi.spec index 384cedf..25dc107 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -3,9 +3,9 @@ # %if %{?_with_debug:1}%{!?_with_debug:0} -Release: 1.debug%{?dist} +Release: 2.debug%{?dist} %else -Release: 1%{?dist} +Release: 2%{?dist} %endif Name: freeipmi @@ -69,9 +69,9 @@ Provides a tool and a daemon for IPMI node detection. %patch4 -p1 -b .pathsep %build -CFLAGS=-D_GNU_SOURCE %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ +export CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" +%configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_enable_debug} --disable-static -CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -328,6 +328,9 @@ fi %{_mandir}/man8/ipmidetectd.8* %changelog +* Thu Apr 16 2009 Jan Safranek - 0.7.8-2 +- Fix compilation flags, debuginfo package is correctly generated now + * Tue Apr 14 2009 Jan Safranek - 0.7.8-1 - Update to freeipmi-0.7.8