diff --git a/nvme-cli.spec b/nvme-cli.spec index c2a94f7..06281d8 100644 --- a/nvme-cli.spec +++ b/nvme-cli.spec @@ -5,7 +5,7 @@ Name: nvme-cli Version: 2.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: NVMe management command line interface License: GPL-2.0-only @@ -84,25 +84,10 @@ rm -rf %{buildroot}%{_pkgdocdir}/nvme %{nmlibdir}/dispatcher.d/99-nvme-nbft-connect.sh %{nmlibdir}/conf.d/99-nvme-nbft-no-ignore-carrier.conf -%post -if [ $1 -eq 1 ] || [ $1 -eq 2 ]; then - if [ ! -s %{_sysconfdir}/nvme/hostnqn ]; then - echo $(nvme gen-hostnqn) > %{_sysconfdir}/nvme/hostnqn - fi - if [ ! -s %{_sysconfdir}/nvme/hostid ]; then - echo $(nvme show-hostnqn | sed 's/^.*uuid://') > %{_sysconfdir}/nvme/hostid - fi - - # apply udev and systemd changes that we did - if [ $1 -eq 1 ]; then - systemctl enable nvmefc-boot-connections - fi - systemctl daemon-reload - udevadm control --reload-rules && udevadm trigger - exit 0 -fi - %changelog +* Mon Dec 02 2024 Maurizio Lombardi - 2.11-3 +- Remove the post script (RHEL-68495) + * Wed Nov 20 2024 Maurizio Lombardi - 2.11-2 - Rebuild for RHEL-68310