update to 1.16

This commit is contained in:
bzg1107 2021-12-29 15:22:13 +08:00
parent 2a6f5173a5
commit 986317dc92
3 changed files with 24 additions and 4 deletions

View File

@ -1,13 +1,13 @@
Name: nvme-cli
Version: 1.6
Release: 2
Version: 1.16
Release: 1
Summary: NVMe management command line interface
License: GPLv2+
URL: https://github.com/linux-nvme/nvme-cli
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
BuildRequires: libuuid-devel gcc
BuildRequires: libuuid-devel gcc make systemd-devel
%description
nvme-cli provides NVM-Express user space tooling for Linux.
@ -23,15 +23,35 @@ nvme-cli provides NVM-Express user space tooling for Linux.
%install
%make_install PREFIX=%{_prefix}
# hostid and hostnqn are supposed to be unique per machine. We obviously
# can't package them.
rm -f %{buildroot}%{_sysconfdir}/nvme/hostid
rm -f %{buildroot}%{_sysconfdir}/nvme/hostnqn
# Do not install the dracut rule yet. See rhbz 1742764
rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
%files
%license LICENSE
%{_sbindir}/nvme
%{_datadir}/bash_completion.d/nvme
%{_datadir}/bash-completion/completions/nvme
%{_datadir}/zsh/site-functions/_nvme
%dir %{_sysconfdir}/nvme
%{_sysconfdir}/nvme/discovery.conf
%{_unitdir}/nvmefc-boot-connections.service
%{_unitdir}/nvmf-autoconnect.service
%{_unitdir}/nvmf-connect.target
%{_unitdir}/nvmf-connect@.service
%{_sysconfdir}/udev/rules.d/70-nvmf-autoconnect.rules
%{_sysconfdir}/udev/rules.d/71-nvmf-iopolicy-netapp.rules
%files help
%doc README.md
%{_mandir}/man1/nvme*.gz
%changelog
* Wed Dec 29 2021 baizhonggui <baizhonggui@huawei.com> - 1.16-1
- update to 1.16
* Tue Nov 19 2019 mengxian@huawei.com - 1.6-2
- Package init

BIN
v1.16.tar.gz Normal file

Binary file not shown.

Binary file not shown.