On Thursday 2020-07-16 09:36, Thorsten Kukuk wrote:
The section "(Build) Requirements" in https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines#.28Build.29_Re... is obsolete as rpm-build requires systemd-rpm-macros and the bcond is not relevant on current distros anymore.
Therefore I propose to remove the section without replacement.
As we update with "zypper dup", we need to make sure, that systemd is updated before the other packages gets updated. Else the restart of the services will fail.
So we should replace the section with:
Requirements You should add: %{?systemd_odering}
It's pointless. If $program depends on a particular systemd feature, it needs a versioned requires. In the absence of that, $program can get released to FTP sooner than system, at which point a "plea for ordering" does not do anything. I would also presume that unrecognized directives in .service units are non-fatal as well. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org