[tmpwatch] Document --exclude-pattern in more places
Miloslav Trmac
mitr at fedoraproject.org
Sat Aug 7 04:02:57 UTC 2010
commit c985d8b63ea768a7d3243999dd38520cfb0a2beb
Author: Miloslav Trmač <mitr at redhat.com>
Date: Sat Aug 7 06:01:23 2010 +0200
Document --exclude-pattern in more places
* Sat Aug 7 2010 Miloslav Trmač <mitr at redhat.com> - 2.10-2
- Document --exclude-pattern in more places
Related: #527425
tmpwatch-2.10-X-doc.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
tmpwatch.spec | 11 ++++++++++-
2 files changed, 52 insertions(+), 1 deletions(-)
---
diff --git a/tmpwatch-2.10-X-doc.patch b/tmpwatch-2.10-X-doc.patch
new file mode 100644
index 0000000..4b65e01
--- /dev/null
+++ b/tmpwatch-2.10-X-doc.patch
@@ -0,0 +1,42 @@
+2010-08-07 Miloslav Trmač <mitr at redhat.com>
+
+ * tmpwatch.c (usage): Add missing space.
+
+ * tmpwatch.8: Add -X to SYNOPSIS as well.
+
+ * tmpwatch.c (usage): Mention -X, --exclude-pattern.
+ * tmpwatch.8: Add --exclude-pattern to SYNOPSIS.
+
+diff -r 7dca472557ba tmpwatch.8
+--- a/tmpwatch.8 Fri Jul 23 18:27:36 2010 +0200
++++ b/tmpwatch.8 Sat Aug 07 05:55:07 2010 +0200
+@@ -26,10 +26,11 @@
+ .SH NAME
+ tmpwatch \- removes files which haven't been accessed for a period of time
+ .SH SYNOPSIS
+-\fBtmpwatch\fR [-u|-m|-c] [-MUadfqstvx] [--verbose] [--force] [--all]
++\fBtmpwatch\fR [-u|-m|-c] [-MUXadfqstvx] [--verbose] [--force] [--all]
+ [--nodirs] [--nosymlinks] [--test] [--fuser] [--quiet]
+ [--atime|--mtime|--ctime] [--dirmtime] [--exclude \fIpath\fR]
+- [--exclude-user \fIuser\fR] \fItime\fR \fIdirs\fR
++ [--exclude-user \fIuser\fR] [--exclude-pattern \fIpattern\fR]
++ \fItime\fR \fIdirs\fR
+
+ .SH DESCRIPTION
+ \fBtmpwatch\fR recursively removes files which haven't been accessed
+diff -r 7dca472557ba tmpwatch.c
+--- a/tmpwatch.c Fri Jul 23 18:27:36 2010 +0200
++++ b/tmpwatch.c Sat Aug 07 05:55:07 2010 +0200
+@@ -600,10 +600,10 @@
+ static void attribute__((noreturn))
+ usage(void)
+ {
+- static const char msg[] = "tmpwatch [-u|-m|-c] [-MUadfqtvx] [--verbose] "
++ static const char msg[] = "tmpwatch [-u|-m|-c] [-MUXadfqtvx] [--verbose] "
+ "[--force] [--all] [--nodirs] [--nosymlinks] [--test] [--quiet] "
+ "[--atime|--mtime|--ctime] [--dirmtime] [--exclude <path>] "
+- "[--exclude-user <user>] "
++ "[--exclude-user <user>] [--exclude-pattern <pattern>] "
+ #ifdef FUSER
+ "[--fuser] "
+ #endif
diff --git a/tmpwatch.spec b/tmpwatch.spec
index 3f29881..d2e88ef 100644
--- a/tmpwatch.spec
+++ b/tmpwatch.spec
@@ -1,10 +1,14 @@
Summary: A utility for removing files based on when they were last accessed
Name: tmpwatch
Version: 2.10
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: https://fedorahosted.org/tmpwatch/
Source0: https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-%{version}.tar.bz2
Source1: tmpwatch.daily
+# Upstream changesets 7c61ad804818abb8762ecd0ef0f9df7359118b11,
+# e8c79b01994b5508256a033521acd10028a8afc8, and
+# 55fd4480fa8b797794fee4987da3356875593d18
+Patch0: tmpwatch-2.10-X-doc.patch
License: GPLv2
Group: System Environment/Base
Requires: psmisc
@@ -21,6 +25,7 @@ removes empty directories and regular files.
%prep
%setup -q
+%patch0 -p1 -b .X-doc
%build
%configure
@@ -50,6 +55,10 @@ rm -rf %{buildroot}
%config(noreplace) /etc/cron.daily/tmpwatch
%changelog
+* Sat Aug 7 2010 Miloslav Trmač <mitr at redhat.com> - 2.10-2
+- Document --exclude-pattern in more places
+ Related: #527425
+
* Tue Mar 23 2010 Miloslav Trmač <mitr at redhat.com> - 2.10-1
- Update to tmpwatch-2.10.
- Drop no longer neceessary references to BuildRoot:
More information about the scm-commits
mailing list