diff --git a/macros.systemd b/macros.systemd index 1e27f58..e08e745 100644 --- a/macros.systemd +++ b/macros.systemd @@ -209,7 +209,7 @@ fi \ %systemd_user_postun_with_restart() %{nil} %udev_hwdb_update() \ -[ -x /usr/bin/udevadm ] && /usr/bin/udevadm hwdb --update || : \ +[ -x /usr/bin/systemd-hwdb ] && /usr/bin/systemd-hwdb update || : \ %{nil} %udev_rules_update() \ diff --git a/systemd-rpm-macros.changes b/systemd-rpm-macros.changes index c597e1d..9361630 100644 --- a/systemd-rpm-macros.changes +++ b/systemd-rpm-macros.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 26 14:11:14 UTC 2023 - Franck Bui + +- `udevadm hwdb` is deprecated, use `systemd-hwdb` instead. + ------------------------------------------------------------------- Wed Nov 23 17:14:04 UTC 2022 - Franck Bui diff --git a/systemd-rpm-macros.spec b/systemd-rpm-macros.spec index d397e13..9bad741 100644 --- a/systemd-rpm-macros.spec +++ b/systemd-rpm-macros.spec @@ -1,7 +1,7 @@ # # spec file for package systemd-rpm-macros # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed