Accepting request 754344 from Base:System

OBS-URL: https://build.opensuse.org/request/show/754344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cronie?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2019-12-11 10:58:41 +00:00 committed by Git OBS Bridge
commit 62b60ce88a
2 changed files with 18 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 3 17:05:04 UTC 2019 - Malte Kraus <malte.kraus@suse.com>
- change permissions calls in spec file to use slashes for
directories [boo#1158130]
-------------------------------------------------------------------
Wed Nov 20 15:18:24 UTC 2019 - Kristyna Streitova <kstreitova@suse.com>

View File

@ -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)