Fix compilation flags, debuginfo package is correctly generated now

This commit is contained in:
Jan Šafránek 2009-04-16 10:50:52 +00:00
parent 0f09c9223f
commit 8ef2d301b4

View File

@ -3,9 +3,9 @@
# #
%if %{?_with_debug:1}%{!?_with_debug:0} %if %{?_with_debug:1}%{!?_with_debug:0}
Release: 1.debug%{?dist} Release: 2.debug%{?dist}
%else %else
Release: 1%{?dist} Release: 2%{?dist}
%endif %endif
Name: freeipmi Name: freeipmi
@ -69,9 +69,9 @@ Provides a tool and a daemon for IPMI node detection.
%patch4 -p1 -b .pathsep %patch4 -p1 -b .pathsep
%build %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 %{?_enable_debug} --disable-static
CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -328,6 +328,9 @@ fi
%{_mandir}/man8/ipmidetectd.8* %{_mandir}/man8/ipmidetectd.8*
%changelog %changelog
* Thu Apr 16 2009 Jan Safranek <jsafrane@redhat.com> - 0.7.8-2
- Fix compilation flags, debuginfo package is correctly generated now
* Tue Apr 14 2009 Jan Safranek <jsafrane@redhat.com> - 0.7.8-1 * Tue Apr 14 2009 Jan Safranek <jsafrane@redhat.com> - 0.7.8-1
- Update to freeipmi-0.7.8 - Update to freeipmi-0.7.8