From ca881725b1a9ec0bd719512310f5bb542195ed15 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Aug 06 2010 16:12:30 +0000 Subject: 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 f474c83f8ab22d59ac204ce13d0525c487bacd78) --- diff --git a/patch.spec b/patch.spec index 14135f4..f175c74 100644 --- a/patch.spec +++ b/patch.spec @@ -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 +- Added comments for all patches. +- Ship COPYING file. +- Removed sparc ifdefs in spec file. + * Wed Mar 10 2010 Dennis Gilmore 2.6.1-2 - using -fstack-projector causes weirdness on 32 bit sparc so disabling for now