rpms/tmpwatch/devel tmpwatch.daily, NONE, 1.1 .cvsignore, 1.22, 1.23 sources, 1.23, 1.24 tmpwatch.spec, 1.30, 1.31

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Mar 31 12:31:42 UTC 2007


Author: mitr

Update of /cvs/dist/rpms/tmpwatch/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21930

Modified Files:
	.cvsignore sources tmpwatch.spec 
Added Files:
	tmpwatch.daily 
Log Message:
* Sat Mar 31 2007 Miloslav Trmac <mitr at redhat.com> - 2.9.11-1
- Fix a misleading message in --test
  Resolves: 234596
- Compress the tarball using bzip2
- Move the cron.daily script to a separate source file



--- NEW FILE tmpwatch.daily ---
#! /bin/sh
/usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \
	-x /tmp/.ICE-unix -x /tmp/.Test-unix 10d /tmp
/usr/sbin/tmpwatch 30d /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
    if [ -d "$d" ]; then
	/usr/sbin/tmpwatch -f 30d "$d"
    fi
done


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/tmpwatch/devel/.cvsignore,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- .cvsignore	5 Nov 2006 01:41:13 -0000	1.22
+++ .cvsignore	31 Mar 2007 12:31:39 -0000	1.23
@@ -1 +1 @@
-tmpwatch-2.9.10.tar.gz
+tmpwatch-2.9.11.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/tmpwatch/devel/sources,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- sources	5 Nov 2006 01:41:13 -0000	1.23
+++ sources	31 Mar 2007 12:31:40 -0000	1.24
@@ -1 +1 @@
-4fdcefdb36bc6c8ef5fea26eb4f1a2e3  tmpwatch-2.9.10.tar.gz
+4508aaaf26cb3d6c5cb313fb7eb93ce2  tmpwatch-2.9.11.tar.bz2


Index: tmpwatch.spec
===================================================================
RCS file: /cvs/dist/rpms/tmpwatch/devel/tmpwatch.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- tmpwatch.spec	5 Nov 2006 01:41:13 -0000	1.30
+++ tmpwatch.spec	31 Mar 2007 12:31:40 -0000	1.31
@@ -1,8 +1,9 @@
 Summary: A utility for removing files based on when they were last accessed
 Name: tmpwatch
-Version: 2.9.10
+Version: 2.9.11
 Release: 1
-Source: %{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.bz2
+Source1: tmpwatch.daily
 License: GPL
 Group: System Environment/Base
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -27,17 +28,7 @@
 make ROOT=%{buildroot} SBINDIR=%{_sbindir} MANDIR=%{_mandir} install
 
 mkdir -p %{buildroot}/etc/cron.daily
-cat > %{buildroot}/etc/cron.daily/tmpwatch <<\EOF
-#! /bin/sh
-/usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix \
-	-x /tmp/.ICE-unix -x /tmp/.Test-unix 10d /tmp
-/usr/sbin/tmpwatch 30d /var/tmp
-for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
-    if [ -d "$d" ]; then
-	/usr/sbin/tmpwatch -f 30d "$d"
-    fi
-done
-EOF
+cp %{SOURCE1} %{buildroot}/etc/cron.daily/tmpwatch
 chmod +x %{buildroot}/etc/cron.daily/tmpwatch
 
 %clean
@@ -50,6 +41,12 @@
 %config(noreplace) /etc/cron.daily/tmpwatch
 
 %changelog
+* Sat Mar 31 2007 Miloslav Trmac <mitr at redhat.com> - 2.9.11-1
+- Fix a misleading message in --test
+  Resolves: 234596
+- Compress the tarball using bzip2
+- Move the cron.daily script to a separate source file
+
 * Sun Nov  5 2006 Miloslav Trmac <mitr at redhat.com> - 2.9.10-1
 - Reallow --exclude with nonexistent paths
   Resolves: 214034




More information about the fedora-cvs-commits mailing list