diff --git a/dos2unix-manpage.patch b/dos2unix-manpage.patch new file mode 100644 index 0000000..f9e1e67 --- /dev/null +++ b/dos2unix-manpage.patch @@ -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 diff --git a/dos2unix.spec b/dos2unix.spec index d4f8b34..6bb1da2 100644 --- a/dos2unix.spec +++ b/dos2unix.spec @@ -1,7 +1,7 @@ Summary: Text file format converter Name: dos2unix Version: 3.1 -Release: 32%{?dist} +Release: 33%{?dist} Group: Applications/Text License: BSD Source: %{name}-%{version}.tar.bz2 @@ -13,6 +13,7 @@ Patch4: dos2unix-3.1-preserve-file-modes.patch Patch5: dos2unix-3.1-tmppath.patch Patch6: dos2unix-c-missing-arg.patch Patch7: dos2unix-missing-proto.patch +Patch8: dos2unix-manpage.patch 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 %patch6 -p1 -b .c-missing-arg %patch7 -p1 -b .missing-proto +%patch8 -p1 -b .manpage for I in *.[ch]; do 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 %changelog +* Mon Sep 8 2008 Tim Waugh 3.1-33 +- Fixed manpage grammar (bug #460731). + * Mon Apr 14 2008 Tim Waugh 3.1-32 - Adjust license tag (bug #225706). - Fix missing prototype (bug #225706).