- use RPM_OPT_FLAGS, this fixes debuginfo

This commit is contained in:
Karsten Hopp 2007-01-31 11:14:40 +00:00
parent a3b5eeb9aa
commit 33fb6f496e

View File

@ -1,7 +1,7 @@
Summary: The GNU line editor.
Name: ed
Version: 0.4
Release: 1
Release: 2
License: GPL
Group: Applications/Text
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
@ -26,7 +26,7 @@ rm -f stamp-h.in
%build
%configure --exec-prefix=/
make %{?_smp_mflags}
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/*/*
%changelog
* Wed Jan 31 2007 Karsten Hopp <karsten@redhat.com> 0.4-2
- use RPM_OPT_FLAGS, this fixes debuginfo
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 0.4-1
- new upstream version