!3 update to 1.16
Merge pull request !3 from baizg1107/openEuler-22.03-LTS-Next
This commit is contained in:
commit
4bd3d12af4
@ -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
BIN
v1.16.tar.gz
Normal file
Binary file not shown.
BIN
v1.6.tar.gz
BIN
v1.6.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user