- Fixed manpage grammar (bug #460731).

This commit is contained in:
Tim Waugh 2008-09-08 09:00:34 +00:00
parent 53ca4e2be5
commit 89e5715fc7
2 changed files with 18 additions and 1 deletions

12
dos2unix-manpage.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up dos2unix-3.1/dos2unix.1.manpage dos2unix-3.1/dos2unix.1
--- dos2unix-3.1/dos2unix.1.manpage 2008-09-08 09:58:46.000000000 +0100
+++ dos2unix-3.1/dos2unix.1 2008-09-08 09:58:56.000000000 +0100
@@ -52,7 +52,7 @@ default to run in this mode. Wildcard na
.B \-n \-\-newfile infile outfile ...
New file mode. Convert the infile and write output to outfile. File names
must be given in pairs and wildcard names should NOT be used or you WILL
-lost your files.
+lose your files.
.SH "EXAMPLES"
.LP

View File

@ -1,7 +1,7 @@
Summary: Text file format converter Summary: Text file format converter
Name: dos2unix Name: dos2unix
Version: 3.1 Version: 3.1
Release: 32%{?dist} Release: 33%{?dist}
Group: Applications/Text Group: Applications/Text
License: BSD License: BSD
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
@ -13,6 +13,7 @@ Patch4: dos2unix-3.1-preserve-file-modes.patch
Patch5: dos2unix-3.1-tmppath.patch Patch5: dos2unix-3.1-tmppath.patch
Patch6: dos2unix-c-missing-arg.patch Patch6: dos2unix-c-missing-arg.patch
Patch7: dos2unix-missing-proto.patch Patch7: dos2unix-missing-proto.patch
Patch8: dos2unix-manpage.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -29,6 +30,7 @@ Dos2unix converts DOS or MAC text files to UNIX format.
%patch5 -p1 -b .tmppath %patch5 -p1 -b .tmppath
%patch6 -p1 -b .c-missing-arg %patch6 -p1 -b .c-missing-arg
%patch7 -p1 -b .missing-proto %patch7 -p1 -b .missing-proto
%patch8 -p1 -b .manpage
for I in *.[ch]; do for I in *.[ch]; do
sed -e 's,#endif.*,#endif,g' -e 's,#else.*,#else,g' $I > $I.new sed -e 's,#endif.*,#endif,g' -e 's,#else.*,#else,g' $I > $I.new
@ -60,6 +62,9 @@ ln -s dos2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1/mac2unix.1
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Sep 8 2008 Tim Waugh <twaugh@redhat.com> 3.1-33
- Fixed manpage grammar (bug #460731).
* Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32 * Mon Apr 14 2008 Tim Waugh <twaugh@redhat.com> 3.1-32
- Adjust license tag (bug #225706). - Adjust license tag (bug #225706).
- Fix missing prototype (bug #225706). - Fix missing prototype (bug #225706).