From fe8bf5511246b7bbf4aa422f32a32c9832a2b1f79aa8a4bd2611b99fd464d622 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 26 May 2016 00:11:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=389 --- suse-sysv-init-checks.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suse-sysv-init-checks.diff b/suse-sysv-init-checks.diff index 3a582b6..66e0f44 100644 --- a/suse-sysv-init-checks.diff +++ b/suse-sysv-init-checks.diff @@ -16,8 +16,8 @@ index f9b13a1..f81a450 100644 'Default-Stop', 'Short-Description') +suse = True -+stop_on_removal_regex=re.compile('bin/systemctl stop .*(?!.service)') -+restart_on_update_regex=re.compile('bin/systemctl try-restart .*(?!.service)') ++stop_on_removal_regex=re.compile('bin/systemctl stop (?!.+\.service).+') ++restart_on_update_regex=re.compile('bin/systemctl try-restart (?!.+\.service).+') +insserv_cleanup_regex=re.compile('^\s*/sbin/insserv /etc/init.d$', re.MULTILINE) class InitScriptCheck(AbstractCheck.AbstractCheck):