Replace systemd dependencies with just ordering

systemd-units has been merged into systemd a long time ago. But we
don't really need this dependency at all. Let's just declare ordering,
so that this package is installed after systemd if both are installed
in the same transaction.

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_dependencies_on_the_systemd_package
for discussion and justification.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-02-06 10:48:49 +01:00
parent 1d0d7588dd
commit a4d9e81291

View File

@ -253,10 +253,8 @@ See also the "uuid-devel" package, which is a separate implementation.
Summary: Helper daemon to guarantee uniqueness of time-based UUIDs Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
Requires: libuuid = %{version}-%{release} Requires: libuuid = %{version}-%{release}
License: GPLv2 License: GPLv2
Requires: systemd
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires(post): systemd-units %{?systemd_ordering}
Requires(preun): systemd-units
%description -n uuidd %description -n uuidd
The uuidd package contains a userspace daemon (uuidd) which guarantees The uuidd package contains a userspace daemon (uuidd) which guarantees