Update to tmpwatch-2.10.2.

* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 2.10.2-1
- Update to tmpwatch-2.10.2.
  Resolves: #585216
This commit is contained in:
Miloslav Trmač 2011-03-31 02:11:29 +02:00
parent 4896d4e0c8
commit 221acadf25
2 changed files with 6 additions and 49 deletions

View File

@ -1,42 +0,0 @@
2010-08-07 Miloslav Trmač <mitr@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

View File

@ -1,14 +1,10 @@
Summary: A utility for removing files based on when they were last accessed
Name: tmpwatch
Version: 2.10
Release: 4%{?dist}
Version: 2.10.2
Release: 1%{?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
@ -26,7 +22,6 @@ removes empty directories and regular files.
%prep
%setup -q
%patch0 -p1 -b .X-doc
%build
%configure
@ -56,6 +51,10 @@ rm -rf %{buildroot}
%config(noreplace) /etc/cron.daily/tmpwatch
%changelog
* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 2.10.2-1
- Update to tmpwatch-2.10.2.
Resolves: #585216
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild