[packages/tmpwatch/merge-cronjobs-cron.d-dir] load rc-scripts function library for is_no()

glen glen at pld-linux.org
Wed Jan 30 11:48:46 CET 2013


commit c902e673ad916a027e15e9ee6a09966490e4e3cb
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jan 29 17:05:32 2013 +0200

    load rc-scripts function library for is_no()

 tmpwatch.cron | 3 +++
 tmpwatch.spec | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/tmpwatch.spec b/tmpwatch.spec
index 13eea21..7179d71 100644
--- a/tmpwatch.spec
+++ b/tmpwatch.spec
@@ -11,7 +11,7 @@ Summary(ru.UTF-8):	Утилита удаления файлов по крите
 Summary(uk.UTF-8):	Утиліта видалення файлів за критерієм давності останнього доступу
 Name:		tmpwatch
 Version:	2.11
-Release:	2.2
+Release:	2.3
 License:	GPL v2
 Group:		Applications/System
 Source0:	https://fedorahosted.org/releases/t/m/tmpwatch/%{name}-%{version}.tar.bz2
@@ -25,6 +25,7 @@ URL:		https://fedorahosted.org/tmpwatch/
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake
 Requires:	crondaemon
+Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
diff --git a/tmpwatch.cron b/tmpwatch.cron
index 866b719..b021f2e 100755
--- a/tmpwatch.cron
+++ b/tmpwatch.cron
@@ -1,4 +1,7 @@
 #!/bin/sh
+# Source function library for is_no()
+. /etc/rc.d/init.d/functions
+
 #########
 # Some defaults:
 AMAVIS_QUARANTINE="1440"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tmpwatch.git/commitdiff/153133d2f9f66be59b477721783fa8cd577402d3



More information about the pld-cvs-commit mailing list