Cherry-picked spec file fix-ups from f14 branch.

- Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
(cherry picked from commit f474c83f8a)
This commit is contained in:
Tim Waugh 2010-08-06 17:06:36 +01:00
parent 005e61cbd6
commit ca881725b1

View File

@ -25,7 +25,11 @@ applications.
%prep
%setup -q
# Avoid segfault.
%patch1 -p1 -b .sigsegv
# SELinux support.
%patch100 -p1 -b .selinux
%build
@ -34,7 +38,6 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
CFLAGS=`echo $CFLAGS|sed -e 's|-fstack-protector||g'`
%endif
%configure
make %{?smp_mflags}
%check
@ -49,11 +52,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc NEWS README
%doc COPYING NEWS README
%{_bindir}/*
%{_mandir}/*/*
%changelog
* Fri Aug 6 2010 Tim Waugh <twaugh@redhat.com>
- Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
* Wed Mar 10 2010 Dennis Gilmore <dennis@ausil.us> 2.6.1-2
- using -fstack-projector causes weirdness on 32 bit sparc so disabling for now