Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 730235 Details for
Bug 947045
Add a missing requirement on crontabs for the cron job to the spec file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Requires crontabs patch
requires-crontabs.patch (text/plain), 3.58 KB, created by
Jóhann B. Guðmundsson
on 2013-04-01 10:32:24 UTC
(
hide
)
Description:
Requires crontabs patch
Filename:
MIME Type:
Creator:
Jóhann B. Guðmundsson
Created:
2013-04-01 10:32:24 UTC
Size:
3.58 KB
patch
obsolete
>From 994601234a3fa98f61d93a674bf9ca5136baff4e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?J=C3=B3hann=20B=2E=20Gu=C3=B0mundsson?= > <johannbg@fedoraproject.org> >Date: Mon, 1 Apr 2013 10:28:55 +0000 >Subject: [PATCH] Adding a missing requirement on crontabs for the cron job to > the spec file > >--- > backup-manager.cron | 15 +++++++++++++++ > backup-manager.cron.daily | 15 --------------- > backup-manager.spec | 13 ++++++++----- > 3 files changed, 23 insertions(+), 20 deletions(-) > create mode 100644 backup-manager.cron > delete mode 100644 backup-manager.cron.daily > >diff --git a/backup-manager.cron b/backup-manager.cron >new file mode 100644 >index 0000000..464660f >--- /dev/null >+++ b/backup-manager.cron >@@ -0,0 +1,15 @@ >+#!/bin/bash >+# >+# backup-manager's cron script >+# >+# This script do backup if option BM_DAILY_CRON in config is true >+ >+BM_PATH=$(which backup-manager) >+eval $(grep BM_DAILY_CRON /etc/backup-manager.conf) >+ >+if [ ${BM_DAILY_CRON} = "true" ]; then >+ ${BM_PATH} -v >+else >+ echo "[backup-manager] Daily cron is disabled" >+fi >+exit 0 >\ No newline at end of file >diff --git a/backup-manager.cron.daily b/backup-manager.cron.daily >deleted file mode 100644 >index 464660f..0000000 >--- a/backup-manager.cron.daily >+++ /dev/null >@@ -1,15 +0,0 @@ >-#!/bin/bash >-# >-# backup-manager's cron script >-# >-# This script do backup if option BM_DAILY_CRON in config is true >- >-BM_PATH=$(which backup-manager) >-eval $(grep BM_DAILY_CRON /etc/backup-manager.conf) >- >-if [ ${BM_DAILY_CRON} = "true" ]; then >- ${BM_PATH} -v >-else >- echo "[backup-manager] Daily cron is disabled" >-fi >-exit 0 >\ No newline at end of file >diff --git a/backup-manager.spec b/backup-manager.spec >index a407f54..936b86c 100644 >--- a/backup-manager.spec >+++ b/backup-manager.spec >@@ -1,6 +1,6 @@ > Name: backup-manager > Version: 0.7.10 >-Release: 8%{?dist} >+Release: 9%{?dist} > Summary: A command line backup tool for GNU/Linux > Summary(fr): Outil de sauvegarde en ligne de commande pour GNU/Linux > >@@ -8,7 +8,7 @@ Group: Applications/System > License: GPLv2+ > URL: http://www.backup-manager.org > Source0: http://www.backup-manager.org/download/%{name}-%{version}.tar.gz >-Source1: %{name}.cron.daily >+Source1: %{name}.cron > Patch0: %{name}-configtpl.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildArch: noarch >@@ -37,7 +37,7 @@ Requires: rsync > Requires: sed > Requires: tar > Requires: which >- >+Requires: crontabs > > %description > Backup Manager is a command line backup tool for GNU/Linux, designed to help >@@ -98,7 +98,7 @@ done; > %{buildroot}%{_sysconfdir}/%{name}.conf > > # Add cron.daily >-%{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.daily/%{name}.cron >+%{__install} -p -D -m 0750 %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.daily/%{name}.cron > > # rpmlint : sanitize.sh is a non-executable-script > chmod 755 %{buildroot}%{_datadir}/%{name}/sanitize.sh >@@ -118,11 +118,14 @@ chmod 755 %{buildroot}%{_datadir}/%{name}/sanitize.sh > %{_datadir}/%{name} > %{_mandir}/man8/%{name}* > %config(noreplace) %{_sysconfdir}/%{name}.conf >-%{_sysconfdir}/cron.daily/%{name}.cron >+%config(noreplace) %{_sysconfdir}/cron.daily/%{name} > %{_localstatedir}/%{name} > > > %changelog >+* Mon Apr 1 2013 Jóhann B. Guðmundsson <johannbg@fedoraproject.org> - 0.7.10-9 >+- Add a missing requirement on crontabs >+ > * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.10-8 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild > >-- >1.8.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 947045
: 730235