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
This commit is contained in:
Kristyna Streitova 2019-12-05 11:20:19 +00:00 committed by Git OBS Bridge
parent 5f39b5d163
commit a6e9252250
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> Wed Nov 20 15:18:24 UTC 2019 - Kristyna Streitova <kstreitova@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cronie # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,7 +28,7 @@ Release: 0
Summary: Cron Daemon Summary: Cron Daemon
License: BSD-3-Clause AND GPL-2.0-only AND MIT License: BSD-3-Clause AND GPL-2.0-only AND MIT
Group: System/Daemons 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 Source0: https://github.com/cronie-crond/%{name}/archive/%{name}-%{version}.tar.gz
Source2: run-crons Source2: run-crons
Source3: sample.root Source3: sample.root
@ -198,18 +198,18 @@ exit 0
[ -e %{_localstatedir}/spool/anacron/cron.monthly ] || touch %{_localstatedir}/spool/anacron/cron.monthly [ -e %{_localstatedir}/spool/anacron/cron.monthly ] || touch %{_localstatedir}/spool/anacron/cron.monthly
%verifyscript -n cron %verifyscript -n cron
%verify_permissions -e /etc/cron.d %verify_permissions -e /etc/cron.d/
%verify_permissions -e /etc/cron.daily %verify_permissions -e /etc/cron.daily/
%verify_permissions -e /etc/cron.hourly %verify_permissions -e /etc/cron.hourly/
%verify_permissions -e /etc/cron.monthly %verify_permissions -e /etc/cron.monthly/
%verify_permissions -e /etc/cron.weekly %verify_permissions -e /etc/cron.weekly/
%post -n cron %post -n cron
%set_permissions /etc/cron.d %set_permissions /etc/cron.d/
%set_permissions /etc/cron.daily %set_permissions /etc/cron.daily/
%set_permissions /etc/cron.hourly %set_permissions /etc/cron.hourly/
%set_permissions /etc/cron.monthly %set_permissions /etc/cron.monthly/
%set_permissions /etc/cron.weekly %set_permissions /etc/cron.weekly/
%files %files
%defattr(-,root,root) %defattr(-,root,root)