Fixed up reference to info page in man pages (bug #747969).

This commit is contained in:
Tim Waugh 2011-11-25 14:52:37 +00:00
parent 953cdeac82
commit a7dc13421f
2 changed files with 30 additions and 1 deletions

22
diffutils-info-ref.patch Normal file
View File

@ -0,0 +1,22 @@
diff -up diffutils-3.2/man/diff.1.info-ref diffutils-3.2/man/diff.1
--- diffutils-3.2/man/diff.1.info-ref 2011-11-25 14:51:13.101485425 +0000
+++ diffutils-3.2/man/diff.1 2011-11-25 14:51:26.776227663 +0000
@@ -247,6 +247,6 @@ and
.B diff
programs are properly installed at your site, the command
.IP
-.B info diff
+.B info diffutils
.PP
should give you access to the complete manual.
diff -up diffutils-3.2/man/diff3.1.info-ref diffutils-3.2/man/diff3.1
--- diffutils-3.2/man/diff3.1.info-ref 2011-11-25 14:51:31.141145384 +0000
+++ diffutils-3.2/man/diff3.1 2011-11-25 14:51:40.025977907 +0000
@@ -95,6 +95,6 @@ and
.B diff3
programs are properly installed at your site, the command
.IP
-.B info diff3
+.B info diffutils
.PP
should give you access to the complete manual.

View File

@ -1,12 +1,13 @@
Summary: A GNU collection of diff utilities Summary: A GNU collection of diff utilities
Name: diffutils Name: diffutils
Version: 3.2 Version: 3.2
Release: 2%{?dist} Release: 3%{?dist}
Group: Applications/Text Group: Applications/Text
URL: http://www.gnu.org/software/diffutils/diffutils.html URL: http://www.gnu.org/software/diffutils/diffutils.html
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
Patch1: diffutils-cmp-s-empty.patch Patch1: diffutils-cmp-s-empty.patch
Patch2: diffutils-ppc-float.patch Patch2: diffutils-ppc-float.patch
Patch3: diffutils-info-ref.patch
License: GPLv2+ License: GPLv2+
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
@ -34,6 +35,9 @@ Install diffutils if you need to compare text files.
# Applied upstream gnulib fix for float test on ppc (bug #733536). # Applied upstream gnulib fix for float test on ppc (bug #733536).
%patch2 -p1 -b .ppc-float %patch2 -p1 -b .ppc-float
# Fixed up reference to info page in man pages (bug #747969).
%patch3 -p1 -b .info-ref
%build %build
%configure %configure
make PR_PROGRAM=%{_bindir}/pr make PR_PROGRAM=%{_bindir}/pr
@ -71,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
%{_infodir}/diffutils.info*gz %{_infodir}/diffutils.info*gz
%changelog %changelog
* Fri Nov 25 2011 Tim Waugh <twaugh@redhat.com> 3.2-3
- Fixed up reference to info page in man pages (bug #747969).
* Fri Nov 25 2011 Tim Waugh <twaugh@redhat.com> 3.2-2 * Fri Nov 25 2011 Tim Waugh <twaugh@redhat.com> 3.2-2
- Applied upstream gnulib fix for float test on ppc, as well as - Applied upstream gnulib fix for float test on ppc, as well as
correction for LDBL_MANT_DIG definition (bug #733536). correction for LDBL_MANT_DIG definition (bug #733536).