http://bugzilla.suse.com/show_bug.cgi?id=968405 http://bugzilla.suse.com/show_bug.cgi?id=968405#c75 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(mls@suse.com) | --- Comment #75 from Michael Schröder <mls@suse.com> --- #72: processed options are not included in %{*} I would simply do it like this (untested): %_stop_check_systemctl(fn) \ %{-n:exit 0} \ %{!-n:\ test "$YAST_IS_RUNNING" = instsys && exit 0 \ %{!-f:\ test -f /etc/sysconfig/services && . /etc/sysconfig/services \ test "$DISABLE_STOP_ON_REMOVAL" = yes -o \ "$DISABLE_STOP_ON_REMOVAL" = 1 && exit \ } \ } \ /usr/bin/systemctl stop %nil No extra macros, no %if statement, just option processing. -- You are receiving this mail because: You are on the CC list for the bug.