From f474c83f8ab22d59ac204ce13d0525c487bacd78 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 3 Mar 2010 16:54:46 +0000 Subject: [PATCH] - Added comments for all patches. - Ship COPYING file. - Removed sparc ifdefs in spec file. --- patch.spec | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/patch.spec b/patch.spec index 37752fa..d7a08e7 100644 --- a/patch.spec +++ b/patch.spec @@ -1,7 +1,7 @@ Summary: Utility for modifying/upgrading files Name: patch Version: 2.6.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://www.gnu.org/software/patch/patch.html Group: Development/Tools @@ -25,19 +25,17 @@ applications. %prep %setup -q + +# Avoid segfault. %patch1 -p1 -b .sigsegv + +# SELinux support. %patch100 -p1 -b .selinux %build CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %configure - -# XXX unset CPPFLAGS on (ultra?)sparc to avoid large file system support -%ifarch sparc sparc64 -make CPPFLAGS="" -%else make %{?smp_mflags} -%endif %check make check @@ -51,11 +49,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc NEWS README +%doc COPYING NEWS README %{_bindir}/* %{_mandir}/*/* %changelog +* Wed Mar 3 2010 Tim Waugh 2.6.1-2 +- Added comments for all patches. +- Ship COPYING file. +- Removed sparc ifdefs in spec file. + * Mon Jan 4 2010 Tim Waugh 2.6.1-1 - 2.6.1 (bug #551569). No longer need best-name patch.