diff --git a/hexedit-man-page-color.patch b/hexedit-man-page-color.patch new file mode 100644 index 0000000..6f56ec7 --- /dev/null +++ b/hexedit-man-page-color.patch @@ -0,0 +1,13 @@ +--- hexedit.old/hexedit.1 2013-03-01 22:07:04.000000000 +0000 ++++ hexedit/hexedit.1 2013-04-05 17:25:48.875705378 +0100 +@@ -17,6 +17,10 @@ + .I "\-m, \-\-maximize" + Try to maximize the display. + .TP ++.I "\-\-color" ++Display colors. ++This feature is only available if your operating system supports it. ++.TP + .I "\-h, \-\-help" + Show the usage. + .SH COMMANDS (quickly) diff --git a/hexedit.spec b/hexedit.spec index fbf0082..fcef672 100644 --- a/hexedit.spec +++ b/hexedit.spec @@ -1,12 +1,16 @@ Summary: A hexadecimal file viewer and editor Name: hexedit Version: 1.2.13 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Applications/Editors URL: http://rigaux.org/hexedit.html Source: http://rigaux.org/%{name}-%{version}.src.tgz -Patch: hexedit-1.2.13-config.patch + +Patch1: hexedit-1.2.13-config.patch +# Document --color option. Sent upstream 2013-04-05. +Patch2: hexedit-man-page-color.patch + BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -17,7 +21,9 @@ and search through it. %prep %setup -q -n %{name} -%patch -p1 -b .config + +%patch1 -p1 -b .config +%patch2 -p1 -b .color %build %configure @@ -38,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/*/* %changelog +* Fri Apr 05 2013 Richard W.M. Jones - 1.2.13-3 +- Add patch to document --color option. + * Tue Mar 26 2013 Ville Skyttä - 1.2.13-2 - Bring back config patch to fix -debuginfo, it hasn't been upstreamed yet. - Drop empty TODO from docs.