[patch/f19] Don't document unsupported -m option; document -x option (bug #948972).
Tim Waugh
twaugh at fedoraproject.org
Thu Apr 11 10:36:16 UTC 2013
commit cfe682fbc8d2426134183f3c5e479f551243338c
Author: Tim Waugh <twaugh at redhat.com>
Date: Thu Apr 11 11:28:09 2013 +0100
Don't document unsupported -m option; document -x option (bug #948972).
patch-args.patch | 20 ++++++++++++++++++++
patch.spec | 9 ++++++++-
2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/patch-args.patch b/patch-args.patch
new file mode 100644
index 0000000..f0e5f47
--- /dev/null
+++ b/patch-args.patch
@@ -0,0 +1,20 @@
+diff -up patch-2.7.1/src/patch.c.args patch-2.7.1/src/patch.c
+--- patch-2.7.1/src/patch.c.args 2013-04-11 11:30:52.644026499 +0100
++++ patch-2.7.1/src/patch.c 2013-04-11 11:31:54.990246532 +0100
+@@ -762,7 +762,7 @@ static char const *const option_help[] =
+ "",
+ " -D NAME --ifdef=NAME Make merged if-then-else output using NAME.",
+ #ifdef ENABLE_MERGE
+-" -m --merge Merge using conflict markers instead of creating reject files.",
++" --merge Merge using conflict markers instead of creating reject files.",
+ #endif
+ " -E --remove-empty-files Remove output files that are empty after patching.",
+ "",
+@@ -801,6 +801,7 @@ static char const *const option_help[] =
+ " --binary Read and write data in binary mode.",
+ " --read-only=BEHAVIOR How to handle read-only input files: 'ignore' that they",
+ " are read-only, 'warn' (default), or 'fail'.",
++" -x NUM --debug=NUM Set internal debugging flags.",
+ "",
+ " -v --version Output version info.",
+ " --help Output this help.",
diff --git a/patch.spec b/patch.spec
index 0469a49..698e982 100644
--- a/patch.spec
+++ b/patch.spec
@@ -1,12 +1,13 @@
Summary: Utility for modifying/upgrading files
Name: patch
Version: 2.7.1
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv3+
URL: http://www.gnu.org/software/patch/patch.html
Group: Development/Tools
Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.xz
Patch1: patch-remove-empty-dir.patch
+Patch2: patch-args.patch
Patch100: patch-selinux.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -30,6 +31,9 @@ applications.
# Upstream patch to fix removal of empty directories (bug #919489).
%patch1 -p1 -b .remove-empty-dir
+# Don't document unsupported -m option; document -x option (bug #948972).
+%patch2 -p1 -b .args
+
# SELinux support.
%patch100 -p1 -b .selinux
@@ -58,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
+* Thu Apr 11 2013 Tim Waugh <twaugh at redhat.com> 2.7.1-5
+- Don't document unsupported -m option; document -x option (bug #948972).
+
* Mon Mar 25 2013 Ville Skyttä <ville.skytta at iki.fi> - 2.7.1-4
- Build with xattr support.
- Make build output more verbose.
More information about the scm-commits
mailing list