diff --git a/indent-2.2.11-Fix-nbdfa-and-nbdfe-typo.patch b/indent-2.2.11-Fix-nbdfa-and-nbdfe-typo.patch new file mode 100644 index 0000000..dca9795 --- /dev/null +++ b/indent-2.2.11-Fix-nbdfa-and-nbdfe-typo.patch @@ -0,0 +1,31 @@ +From 138fedaef6d94f7fe1601a6eba90d6354a7fb4dd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Mon, 9 Nov 2015 10:09:57 +0100 +Subject: [PATCH] Fix -nbdfa and -nbdfe typo +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + + +Signed-off-by: Petr Písař +--- + doc/indent.texinfo | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/indent.texinfo b/doc/indent.texinfo +index 08f35f6..50aaf61 100644 +--- a/doc/indent.texinfo ++++ b/doc/indent.texinfo +@@ -1048,7 +1048,7 @@ appear at one indention level deeper than the function declaration. This + is particularly helpful for functions with long argument lists. + The option @option{-bfde} causes a newline to be forced before the closing + bracket of the function declaration. For both options the 'n' setting is the default: +--nbdfa and -nbdfe. ++-nbfda and -nbfde. + + + For +-- +2.4.3 + diff --git a/indent.spec b/indent.spec index c661ffe..75b1a1c 100644 --- a/indent.spec +++ b/indent.spec @@ -2,7 +2,7 @@ Summary: A GNU program for formatting C code Name: indent Version: 2.2.11 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv3+ Group: Applications/Text URL: http://www.gnu.org/software/%{name}/ @@ -36,6 +36,9 @@ Patch14: indent-2.2.11-Modernize-texi2html-arguments.patch # Submitted to upstream # Patch15: indent-2.2.11-doc-Correct-a-typo-about-enabling-control-comment.patch +# Submitted to upstream +# +Patch16: indent-2.2.11-Fix-nbdfa-and-nbdfe-typo.patch # gperf to update pre-generated code to fix compiler warnings BuildRequires: gperf BuildRequires: texinfo texi2html @@ -65,6 +68,7 @@ you want a program to format your code. %patch13 -p1 -b .hexa_float %patch14 -p1 -b .texi2html5 %patch15 -p1 -b .doc_dcc +%patch16 -p1 -b .doc_nbdfa # Regenerate sources rm src/gperf.c src/gperf-cc.c # Update config.sub to support aarch64, bug #925588 @@ -102,6 +106,9 @@ fi %changelog +* Mon Nov 09 2015 Petr Pisar - 2.2.11-19 +- Fix -nbdfa and -nbdfe typo in the manual + * Wed Jun 17 2015 Fedora Release Engineering - 2.2.11-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild