diff --git a/SPECS/nvme-cli.spec b/SPECS/nvme-cli.spec index 42702a4..0c89a67 100644 --- a/SPECS/nvme-cli.spec +++ b/SPECS/nvme-cli.spec @@ -3,7 +3,7 @@ Name: nvme-cli Version: 1.16 -Release: 6%{?dist} +Release: 7%{?dist} Summary: NVMe management command line interface License: GPLv2+ @@ -105,13 +105,19 @@ if [ $1 -eq 1 ] || [ $1 -eq 2 ]; then fi # apply udev and systemd changes that we did - systemctl enable nvmefc-boot-connections + if [ $1 -eq 1 ]; then + systemctl enable nvmefc-boot-connections + fi systemctl daemon-reload udevadm control --reload-rules && udevadm trigger exit 0 fi %changelog +* Wed Nov 09 2022 Maurizio Lombardi - 1.16-7 +- Do not re-enable the nvmefc-boot-connections service if + we are just upgrading the package. + * Thu Oct 13 2022 Maurizio Lombardi - 1.16-6 - Fix a file permission