import nvme-cli-1.16-7.el8

This commit is contained in:
CentOS Sources 2023-05-16 06:23:31 +00:00 committed by root
parent 3a625e352a
commit e048fee1d4
2 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,19 @@
From f9b6c2100db88e9f317f15f17faaed59b725ac9b Mon Sep 17 00:00:00 2001
From: Keith Busch <kbusch@kernel.org>
Date: Tue, 24 Aug 2021 11:49:16 -0700
Subject: [PATCH] fix file permissions (nvme-print.c)
It's not executable.
Signed-off-by: Keith Busch <kbusch@kernel.org>
---
nvme-print.c | 0
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100755 => 100644 nvme-print.c
diff --git a/nvme-print.c b/nvme-print.c
old mode 100755
new mode 100644
--
2.31.1

View File

@ -3,7 +3,7 @@
Name: nvme-cli Name: nvme-cli
Version: 1.16 Version: 1.16
Release: 5%{?dist} Release: 7%{?dist}
Summary: NVMe management command line interface Summary: NVMe management command line interface
License: GPLv2+ License: GPLv2+
@ -26,6 +26,7 @@ Patch12: 0012-nvme-cli-Adds-readable-firmware-level-in-persistent.patch
Patch13: 0013-nvme-cli-Add-support-set-feature-event-in-PEL.patch Patch13: 0013-nvme-cli-Add-support-set-feature-event-in-PEL.patch
Patch14: 0014-nvme-cli-Add-support-Telemetry-CRT-in-PEL.patch Patch14: 0014-nvme-cli-Add-support-Telemetry-CRT-in-PEL.patch
Patch15: 0015-fix-firmware-log-page-frs-variable-sign.patch Patch15: 0015-fix-firmware-log-page-frs-variable-sign.patch
Patch16: 0016-fix-file-permissions-nvme-print.c.patch
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: gcc BuildRequires: gcc
@ -54,6 +55,7 @@ nvme-cli provides NVM-Express user space tooling for Linux.
%patch13 -p1 %patch13 -p1
%patch14 -p1 %patch14 -p1
%patch15 -p1 %patch15 -p1
%patch16 -p1
%build %build
@ -103,13 +105,22 @@ if [ $1 -eq 1 ] || [ $1 -eq 2 ]; then
fi fi
# apply udev and systemd changes that we did # apply udev and systemd changes that we did
if [ $1 -eq 1 ]; then
systemctl enable nvmefc-boot-connections systemctl enable nvmefc-boot-connections
fi
systemctl daemon-reload systemctl daemon-reload
udevadm control --reload-rules && udevadm trigger udevadm control --reload-rules && udevadm trigger
exit 0 exit 0
fi fi
%changelog %changelog
* Wed Nov 09 2022 Maurizio Lombardi <mlombard@redhat.com> - 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 <mlombard@redhat.com> - 1.16-6
- Fix a file permission
* Fri Jul 15 2022 Maurizio Lombardi <mlombard@redhat.com> - 1.16-5 * Fri Jul 15 2022 Maurizio Lombardi <mlombard@redhat.com> - 1.16-5
- Fix a compiler warning - Fix a compiler warning