From c7379c94601ff1eae2ef471ec0f72dc7b039a02f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Jan 07 2025 19:31:21 +0000 Subject: Replace 'udevadm hwdb' with systemd-hwdb systemd-hwdb was added in v219 (released in 2015) and 'udevadm hwdb' was deprecated in v253. --- diff --git a/systemd.spec b/systemd.spec index 60c3242..f214d21 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1126,7 +1126,7 @@ if [ -f %{_localstatedir}/lib/systemd/clock ]; then mv %{_localstatedir}/lib/systemd/clock %{_localstatedir}/lib/systemd/timesync/. fi -udevadm hwdb --update &>/dev/null +systemd-hwdb update &>/dev/null %systemd_post %udev_services