diff --git a/rdma-core.spec b/rdma-core.spec index c49857a..4d9fde1 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 30.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: RDMA core userspace libraries and daemons # Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license @@ -356,9 +356,11 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %ldconfig_scriptlets -n librdmacm %post -n rdma-core +if [ -x /sbin/udevadm ]; then /sbin/udevadm trigger --subsystem-match=infiniband --action=change || true /sbin/udevadm trigger --subsystem-match=net --action=change || true /sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true +fi %post -n ibacm %systemd_post ibacm.service @@ -660,6 +662,9 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %endif %changelog +* Thu Jul 02 2020 Stephen Gallagher - 30.0-4 +- Don't throw script errors if udev is not installed + * Wed Jul 1 2020 Jeff Law - 30.0-3 - Disable LTO