Fix compilation flags, debuginfo package is correctly generated now
This commit is contained in:
parent
0f09c9223f
commit
8ef2d301b4
@ -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 <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
|
||||
- Update to freeipmi-0.7.8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user