- Added comments for all patches.

- Ship COPYING file.
- Removed sparc ifdefs in spec file.
This commit is contained in:
Tim Waugh 2010-03-03 16:54:46 +00:00
parent eaf03a3341
commit f474c83f8a

View File

@ -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 <twaugh@redhat.com> 2.6.1-2
- Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
* Mon Jan 4 2010 Tim Waugh <twaugh@redhat.com> 2.6.1-1
- 2.6.1 (bug #551569). No longer need best-name patch.