Compare commits
No commits in common. "84b91a4fcd31b63af107b93e53e3d5ee7096d692" and "2a6f5173a5bdbac3665e56fe9320361eca022d94" have entirely different histories.
84b91a4fcd
...
2a6f5173a5
@ -1,20 +1,13 @@
|
|||||||
Name: nvme-cli
|
Name: nvme-cli
|
||||||
Version: 2.8
|
Version: 1.6
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: NVMe management command line interface
|
Summary: NVMe management command line interface
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/linux-nvme/nvme-cli
|
URL: https://github.com/linux-nvme/nvme-cli
|
||||||
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
|
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
Requires: libnvme
|
BuildRequires: libuuid-devel gcc
|
||||||
|
|
||||||
BuildRequires: gcc-g++
|
|
||||||
BuildRequires: libnvme-devel
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: meson
|
|
||||||
BuildRequires: systemd
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
nvme-cli provides NVM-Express user space tooling for Linux.
|
nvme-cli provides NVM-Express user space tooling for Linux.
|
||||||
@ -25,57 +18,20 @@ nvme-cli provides NVM-Express user space tooling for Linux.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Ddocs=man -Dsystemddir=%{_unitdir} -Dudevrulesdir=%{_udevrulesdir}
|
%make_build PREFIX=%{_prefix} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
||||||
%meson_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_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
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_sbindir}/nvme
|
%{_sbindir}/nvme
|
||||||
%{_datadir}/bash-completion/completions/nvme
|
%{_datadir}/bash_completion.d/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
|
|
||||||
%{_unitdir}/nvmf-connect-nbft.service
|
|
||||||
%{_udevrulesdir}/70-nvmf-autoconnect.rules
|
|
||||||
%{_udevrulesdir}/71-nvmf-netapp.rules
|
|
||||||
%{_udevrulesdir}/65-persistent-net-nbft.rules
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_mandir}/man1/nvme*.gz
|
%{_mandir}/man1/nvme*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 21 2024 panchenbo <panchenbo@kylinsec.com.cn> - 2.8-1
|
|
||||||
- Update to version 2.8
|
|
||||||
|
|
||||||
* Thu Feb 9 2023 Hongtao Zhang <zhanghongtao22@huawei.com> - 2.2.1-2
|
|
||||||
- Fix meson build failed
|
|
||||||
|
|
||||||
* Mon Dec 19 2022 Qiang Wei <qiang.wei@suse.com> - 2.2.1-1
|
|
||||||
- Update to version 2.2.1.
|
|
||||||
* Remove 0001-bash-Fix-nvme-completion.patch, it is fixed in upstream.
|
|
||||||
* backport upstream patch: Bash completion: move global declare into function.
|
|
||||||
|
|
||||||
* Sat Oct 8 2022 zhanghongtao <zhanghongtao22@huawei.com> - 1.16-2
|
|
||||||
- bash Fix nvme completion
|
|
||||||
|
|
||||||
* 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
|
* Tue Nov 19 2019 mengxian@huawei.com - 1.6-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
BIN
v1.6.tar.gz
Normal file
BIN
v1.6.tar.gz
Normal file
Binary file not shown.
BIN
v2.8.tar.gz
BIN
v2.8.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user