- Added comments for all patches.
- Ship COPYING file. - Removed sparc ifdefs in spec file.
This commit is contained in:
parent
7999de4d9d
commit
ec53159932
19
patch.spec
19
patch.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Utility for modifying/upgrading files
|
Summary: Utility for modifying/upgrading files
|
||||||
Name: patch
|
Name: patch
|
||||||
Version: 2.6.1
|
Version: 2.6.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.gnu.org/software/patch/patch.html
|
URL: http://www.gnu.org/software/patch/patch.html
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -25,19 +25,17 @@ applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
# Avoid segfault.
|
||||||
%patch1 -p1 -b .sigsegv
|
%patch1 -p1 -b .sigsegv
|
||||||
|
|
||||||
|
# SELinux support.
|
||||||
%patch100 -p1 -b .selinux
|
%patch100 -p1 -b .selinux
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
# XXX unset CPPFLAGS on (ultra?)sparc to avoid large file system support
|
|
||||||
%ifarch sparc sparc64
|
|
||||||
make CPPFLAGS=""
|
|
||||||
%else
|
|
||||||
make %{?smp_mflags}
|
make %{?smp_mflags}
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -51,11 +49,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc NEWS README
|
%doc COPYING NEWS README
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 4 2010 Tim Waugh <twaugh@redhat.com> 2.6.1-1
|
||||||
- 2.6.1 (bug #551569). No longer need best-name patch.
|
- 2.6.1 (bug #551569). No longer need best-name patch.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user