From a6e92522507006984fae9d706a07cc1a8ae4ce2f596ba7fe09da64219c5d70c4 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Thu, 5 Dec 2019 11:20:19 +0000 Subject: [PATCH] Accepting request 753319 from home:mkraus:branches:Base:System - change permissions calls in spec file to use slashes for directories [boo#1158130] OBS-URL: https://build.opensuse.org/request/show/753319 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=187 --- cronie.changes | 6 ++++++ cronie.spec | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/cronie.changes b/cronie.changes index 6dcce56..ff5ffe5 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 3 17:05:04 UTC 2019 - Malte Kraus + +- change permissions calls in spec file to use slashes for + directories [boo#1158130] + ------------------------------------------------------------------- Wed Nov 20 15:18:24 UTC 2019 - Kristyna Streitova diff --git a/cronie.spec b/cronie.spec index 6a189f2..525f0b6 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,7 +1,7 @@ # # spec file for package cronie # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,7 @@ Release: 0 Summary: Cron Daemon License: BSD-3-Clause AND GPL-2.0-only AND MIT Group: System/Daemons -Url: https://github.com/cronie-crond/%{name} +URL: https://github.com/cronie-crond/%{name} Source0: https://github.com/cronie-crond/%{name}/archive/%{name}-%{version}.tar.gz Source2: run-crons Source3: sample.root @@ -198,18 +198,18 @@ exit 0 [ -e %{_localstatedir}/spool/anacron/cron.monthly ] || touch %{_localstatedir}/spool/anacron/cron.monthly %verifyscript -n cron -%verify_permissions -e /etc/cron.d -%verify_permissions -e /etc/cron.daily -%verify_permissions -e /etc/cron.hourly -%verify_permissions -e /etc/cron.monthly -%verify_permissions -e /etc/cron.weekly +%verify_permissions -e /etc/cron.d/ +%verify_permissions -e /etc/cron.daily/ +%verify_permissions -e /etc/cron.hourly/ +%verify_permissions -e /etc/cron.monthly/ +%verify_permissions -e /etc/cron.weekly/ %post -n cron -%set_permissions /etc/cron.d -%set_permissions /etc/cron.daily -%set_permissions /etc/cron.hourly -%set_permissions /etc/cron.monthly -%set_permissions /etc/cron.weekly +%set_permissions /etc/cron.d/ +%set_permissions /etc/cron.daily/ +%set_permissions /etc/cron.hourly/ +%set_permissions /etc/cron.monthly/ +%set_permissions /etc/cron.weekly/ %files %defattr(-,root,root)