[packages/inotify-tools] upstream change adding --include* opts to man page; rel 2

atler atler at pld-linux.org
Thu Mar 11 20:02:11 CET 2021


commit 5dae1f1361ae97ced822282a0786bb947942c5e1
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 11 19:59:53 2021 +0100

    upstream change adding --include* opts to man page; rel 2

 inotify-tools.spec |  4 ++-
 man-include.patch  | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+), 1 deletion(-)
---
diff --git a/inotify-tools.spec b/inotify-tools.spec
index 57c9e22..c3d4129 100644
--- a/inotify-tools.spec
+++ b/inotify-tools.spec
@@ -7,7 +7,7 @@ Summary:	inotify-tools provides a simple interface to inotify
 Summary(pl.UTF-8):	inotify-tools dostarcza interfejs do inotify
 Name:		inotify-tools
 Version:	3.20.11.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/System
 #Source0Download: https://github.com/rvoicilas/inotify-tools/releases
@@ -15,6 +15,7 @@ Group:		Applications/System
 #Source0:	http://github.com/rvoicilas/inotify-tools/archive/%{version}/%{name}-%{version}.tar.gz
 Source0:	http://github.com/rvoicilas/inotify-tools/archive/%{version}.tar.gz
 # Source0-md5:	64f43d2206b837d5b43fb45088f4fd2f
+Patch0:		man-include.patch
 URL:		https://github.com/rvoicilas/inotify-tools/wiki
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
@@ -74,6 +75,7 @@ Statyczna biblioteka inotify-tools.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/man-include.patch b/man-include.patch
new file mode 100644
index 0000000..4940337
--- /dev/null
+++ b/man-include.patch
@@ -0,0 +1,76 @@
+From 3b5427c1f908fdd093778f6f0b439875bf9c7561 Mon Sep 17 00:00:00 2001
+From: kfollstad <kfollstad at gmail.com>
+Date: Wed, 3 Mar 2021 11:10:47 -0800
+Subject: [PATCH] Fix omission of --include/--includei options in man pages
+ (#133)
+
+And edit --exclude/--excludei for consistency.
+---
+ man/inotifywait.1.in  | 18 ++++++++++++++----
+ man/inotifywatch.1.in | 18 ++++++++++++++----
+ 2 files changed, 28 insertions(+), 8 deletions(-)
+
+diff --git a/man/inotifywait.1.in b/man/inotifywait.1.in
+index 2292a58..d1ec1d2 100644
+--- a/man/inotifywait.1.in
++++ b/man/inotifywait.1.in
+@@ -117,13 +117,23 @@ of fatal errors.
+ 
+ .TP
+ .B \-\-exclude <pattern>
+-Do not process any events whose filename matches the specified POSIX extended
+-regular expression, case sensitive.
++Do not process any events for the subset of files whose filenames match the
++specified POSIX regular expression, case sensitive.
+ 
+ .TP
+ .B \-\-excludei <pattern>
+-Do not process any events whose filename matches the specified POSIX extended
+-regular expression, case insensitive.
++Do not process any events for the subset of files whose filenames match the
++specified POSIX regular expression, case insensitive.
++
++.TP
++.B \-\-include <pattern>
++Process events only for the subset of files whose filenames match the specified
++POSIX regular expression, case sensitive.
++
++.TP
++.B \-\-includei <pattern>
++Process events only for the subset of files whose filenames match the specified
++POSIX regular expression, case insensitive.
+ 
+ .TP
+ .B \-t <seconds>, \-\-timeout <seconds>
+diff --git a/man/inotifywatch.1.in b/man/inotifywatch.1.in
+index 075330e..37116c8 100644
+--- a/man/inotifywatch.1.in
++++ b/man/inotifywatch.1.in
+@@ -72,13 +72,23 @@ of output!
+ 
+ .TP
+ .B \-\-exclude <pattern>
+-Do not process any events whose filename matches the specified POSIX extended
+-regular expression, case sensitive.
++Do not process any events for the subset of files whose filenames match the
++specified POSIX regular expression, case sensitive.
+ 
+ .TP
+ .B \-\-excludei <pattern>
+-Do not process any events whose filename matches the specified POSIX extended
+-regular expression, case insensitive.
++Do not process any events for the subset of files whose filenames match the
++specified POSIX regular expression, case insensitive.
++
++.TP
++.B \-\-include <pattern>
++Process events only for the subset of files whose filenames match the specified
++POSIX regular expression, case sensitive.
++
++.TP
++.B \-\-includei <pattern>
++Process events only for the subset of files whose filenames match the specified
++POSIX regular expression, case insensitive.
+ 
+ .TP
+ .B \-r, \-\-recursive
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/inotify-tools.git/commitdiff/ef0a30f5c0148a0c5e00e1c0e9d5ddeee0b9268b



More information about the pld-cvs-commit mailing list