Closed FilippoBonazziSUSE closed 5 months ago
The check is looking for the systemd-update-helper mark-restart-system-units .*
regex in the postun script and in this package I can see that the macro %service_del_postun_without_restart
expands to '\n \n:'
. It's something that we should accept in this check?
the macro %service_del_postun_without_restart expands to '\n \n:'.
I hadn't realized that. Why does it expand to that? What does the regular %service_del_postun
expand to instead?
It's something that we should accept in this check?
If using the %service_del_postun_without_restart
macro in place of %service_del_postun
is valid, we should accept it.
It's in the systemd-rpm-macros
pacakge, so I think it's something valid. The documentation says that it's okay to use this macro:
During package update, %service_del_postun restarts units. If units are not to be restarted, %service_del_postun_without_restart should be used instead.
So as far as I know, we should allow it.
I have this rpmlint error in a package:
However the spec file contains:
So it looks to me like the error should not be triggered.