|
Tomas Bzatek |
20edef |
# RHEL 8 compatibility
|
|
Tomas Bzatek |
20edef |
%{!?version_no_tilde: %define version_no_tilde %{shrink:%(echo '%{version}' | tr '~' '-')}}
|
|
Tomas Bzatek |
20edef |
|
|
Andy Lutomirski |
ec8e84 |
Name: nvme-cli
|
|
Tomas Bzatek |
896366 |
Version: 2.7.1
|
|
Fedora Release Engineering |
3e759b |
Release: 2%{?dist}
|
|
Andy Lutomirski |
ec8e84 |
Summary: NVMe management command line interface
|
|
Andy Lutomirski |
ec8e84 |
|
|
Tomas Bzatek |
1f9423 |
License: GPL-2.0-only
|
|
Andy Lutomirski |
ec8e84 |
URL: https://github.com/linux-nvme/nvme-cli
|
|
Tomas Bzatek |
dee40a |
Source0: %{url}/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
|
|
Andy Lutomirski |
ec8e84 |
|
|
Tomas Bzatek |
430ad2 |
BuildRequires: meson >= 0.50.0
|
|
Tomas Bzatek |
dee40a |
BuildRequires: gcc gcc-c++
|
|
Andy Lutomirski |
7f24a4 |
BuildRequires: systemd-devel
|
|
Tomas Bzatek |
1e7f7a |
BuildRequires: systemd-rpm-macros
|
|
Tomas Bzatek |
dee40a |
BuildRequires: zlib-devel
|
|
Tomas Bzatek |
dee40a |
BuildRequires: openssl-devel
|
|
Tomas Bzatek |
dee40a |
|
|
Tomas Bzatek |
896366 |
BuildRequires: libnvme-devel >= 1.7
|
|
Tomas Bzatek |
20edef |
BuildRequires: json-c-devel >= 0.13
|
|
Tomas Bzatek |
20edef |
|
|
Tomas Bzatek |
dee40a |
BuildRequires: asciidoc
|
|
Tomas Bzatek |
dee40a |
BuildRequires: xmlto
|
|
Tomas Bzatek |
dee40a |
|
|
Tomas Bzatek |
311eb5 |
Requires: util-linux
|
|
Andy Lutomirski |
6e21ba |
|
|
Andy Lutomirski |
ec8e84 |
%description
|
|
Andy Lutomirski |
ec8e84 |
nvme-cli provides NVM-Express user space tooling for Linux.
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
%prep
|
|
Tomas Bzatek |
dee40a |
%autosetup -p1 -n %{name}-%{version_no_tilde}
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
%build
|
|
Tomas Bzatek |
aa5fc0 |
%meson -Dudevrulesdir=%{_udevrulesdir} -Dsystemddir=%{_unitdir} -Dpdc-enabled=true -Ddocs=all -Ddocs-build=true -Dhtmldir=%{_pkgdocdir}
|
|
Tomas Bzatek |
dee40a |
%meson_build
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
%install
|
|
Tomas Bzatek |
dee40a |
%meson_install
|
|
Tomas Bzatek |
349f55 |
%{__install} -pm 644 README.md %{buildroot}%{_pkgdocdir}
|
|
Andy Lutomirski |
b308a8 |
|
|
Andy Lutomirski |
b308a8 |
# hostid and hostnqn are supposed to be unique per machine. We obviously
|
|
Andy Lutomirski |
b308a8 |
# can't package them.
|
|
Tomas Bzatek |
629f63 |
# nvme-stas ships the stas-config@.service that will take care
|
|
Tomas Bzatek |
629f63 |
# of generating these files if missing. See rhbz 2065886#c19
|
|
Andy Lutomirski |
2c04c5 |
rm -f %{buildroot}%{_sysconfdir}/nvme/hostid
|
|
Andy Lutomirski |
2c04c5 |
rm -f %{buildroot}%{_sysconfdir}/nvme/hostnqn
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
b308a8 |
# Do not install the dracut rule yet. See rhbz 1742764
|
|
Andy Lutomirski |
b308a8 |
rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
|
|
Andy Lutomirski |
b308a8 |
|
|
Tomas Bzatek |
dee40a |
# Move html docs into the right place
|
|
Tomas Bzatek |
dee40a |
mv %{buildroot}%{_pkgdocdir}/nvme %{buildroot}%{_pkgdocdir}/html
|
|
Tomas Bzatek |
dee40a |
rm -rf %{buildroot}%{_pkgdocdir}/nvme
|
|
Tomas Bzatek |
dee40a |
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
%files
|
|
Andy Lutomirski |
ec8e84 |
%license LICENSE
|
|
Tomas Bzatek |
dee40a |
%doc %{_pkgdocdir}
|
|
Andy Lutomirski |
ec8e84 |
%{_sbindir}/nvme
|
|
Andy Lutomirski |
ec8e84 |
%{_mandir}/man1/nvme*.gz
|
|
Andy Lutomirski |
3b78aa |
%{_datadir}/bash-completion/completions/nvme
|
|
Andy Lutomirski |
12288a |
%{_datadir}/zsh/site-functions/_nvme
|
|
Andy Lutomirski |
07cbe4 |
%dir %{_sysconfdir}/nvme
|
|
Tomas Bzatek |
75620e |
%config(noreplace) %{_sysconfdir}/nvme/discovery.conf
|
|
Andy Lutomirski |
2c04c5 |
%{_unitdir}/nvmefc-boot-connections.service
|
|
Andy Lutomirski |
c2c6e3 |
%{_unitdir}/nvmf-autoconnect.service
|
|
Andy Lutomirski |
2c04c5 |
%{_unitdir}/nvmf-connect.target
|
|
Andy Lutomirski |
2c04c5 |
%{_unitdir}/nvmf-connect@.service
|
|
Tomas Bzatek |
896366 |
%{_unitdir}/nvmf-connect-nbft.service
|
|
Tomas Bzatek |
896366 |
%{_udevrulesdir}/65-persistent-net-nbft.rules
|
|
Andy Lutomirski |
2c04c5 |
%{_udevrulesdir}/70-nvmf-autoconnect.rules
|
|
Tomas Bzatek |
896366 |
%{_udevrulesdir}/71-nvmf-netapp.rules
|
|
Andy Lutomirski |
b308a8 |
# Do not install the dracut rule yet. See rhbz 1742764
|
|
Andy Lutomirski |
b308a8 |
# /usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
%changelog
|
|
Fedora Release Engineering |
3e759b |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
Fedora Release Engineering |
3e759b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
Fedora Release Engineering |
3e759b |
|
|
Tomas Bzatek |
896366 |
* Thu Dec 28 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.7.1-1
|
|
Tomas Bzatek |
896366 |
- Update to 2.7.1
|
|
Tomas Bzatek |
896366 |
|
|
Tomas Bzatek |
1f9423 |
* Fri Sep 29 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.6-1
|
|
Tomas Bzatek |
1f9423 |
- Update to 2.6
|
|
Tomas Bzatek |
1f9423 |
|
|
Tomas Bzatek |
75620e |
* Thu Aug 17 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.5-4
|
|
Tomas Bzatek |
75620e |
- Mark /etc/nvme/discovery.conf as (noreplace)
|
|
Tomas Bzatek |
75620e |
|
|
Tomas Bzatek |
9814f5 |
* Mon Aug 14 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.5-3
|
|
Tomas Bzatek |
9814f5 |
- Backport 'fabrics: Use corresponding hostid when hostnqn is generated'
|
|
Tomas Bzatek |
9814f5 |
|
|
Fedora Release Engineering |
f698c8 |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
Fedora Release Engineering |
f698c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
Fedora Release Engineering |
f698c8 |
|
|
Tomas Bzatek |
aa5fc0 |
* Tue Jul 04 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.5-1
|
|
Tomas Bzatek |
aa5fc0 |
- Update to 2.5
|
|
Tomas Bzatek |
aa5fc0 |
|
|
Tomas Bzatek |
986ba7 |
* Thu Apr 20 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.4-2
|
|
Tomas Bzatek |
986ba7 |
- Backport the NBFT support from git master
|
|
Tomas Bzatek |
986ba7 |
|
|
Tomas Bzatek |
c34515 |
* Mon Apr 03 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.4-1
|
|
Tomas Bzatek |
c34515 |
- Update to 2.4
|
|
Tomas Bzatek |
c34515 |
|
|
Tomas Bzatek |
430ad2 |
* Wed Feb 01 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.3-1
|
|
Tomas Bzatek |
430ad2 |
- Update to 2.3
|
|
Tomas Bzatek |
430ad2 |
|
|
Fedora Release Engineering |
fad149 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
|
|
Fedora Release Engineering |
fad149 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
Fedora Release Engineering |
fad149 |
|
|
Tomas Bzatek |
f5a97b |
* Fri Nov 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.2.1-1
|
|
Tomas Bzatek |
f5a97b |
- Update to 2.2.1
|
|
Tomas Bzatek |
f5a97b |
|
|
Tomas Bzatek |
349f55 |
* Tue Nov 01 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.2-1
|
|
Tomas Bzatek |
349f55 |
- Update to 2.2
|
|
Tomas Bzatek |
349f55 |
|
|
Tomas Bzatek |
ceb740 |
* Fri Aug 19 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.1.2-1
|
|
Tomas Bzatek |
ceb740 |
- Update to 2.1.2
|
|
Tomas Bzatek |
ceb740 |
|
|
Tomas Bzatek |
311eb5 |
* Fri Aug 05 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.1.1-1
|
|
Tomas Bzatek |
311eb5 |
- Update to 2.1.1
|
|
Tomas Bzatek |
311eb5 |
|
|
Fedora Release Engineering |
074769 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1~rc0-2
|
|
Fedora Release Engineering |
074769 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
Fedora Release Engineering |
074769 |
|
|
Tomas Bzatek |
629f63 |
* Fri Jul 15 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.1~rc0-1
|
|
Tomas Bzatek |
629f63 |
- Update to 2.1-rc0
|
|
Tomas Bzatek |
629f63 |
- Drop the hostnqn generate scriptlet (#2065886)
|
|
Tomas Bzatek |
629f63 |
|
|
Tomas Bzatek |
ea4b1f |
* Mon Apr 11 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.0-1
|
|
Tomas Bzatek |
ea4b1f |
- Update to 2.0
|
|
Tomas Bzatek |
ea4b1f |
|
|
Tomas Bzatek |
726694 |
* Mon Apr 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.0~rc8-1
|
|
Tomas Bzatek |
726694 |
- Update to 2.0-rc8
|
|
Tomas Bzatek |
726694 |
- Added scriptlet to generate /etc/nvme/hostnqn and hostid files (#2065886)
|
|
Tomas Bzatek |
726694 |
|
|
Tomas Bzatek |
3f66b1 |
* Tue Mar 15 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.0~rc6-1
|
|
Tomas Bzatek |
3f66b1 |
- Update to 2.0-rc6
|
|
Tomas Bzatek |
3f66b1 |
|
|
Tomas Bzatek |
dee40a |
* Fri Mar 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.0~rc5-1
|
|
Tomas Bzatek |
dee40a |
- Update to 2.0-rc5
|
|
Tomas Bzatek |
dee40a |
|
|
Fedora Release Engineering |
865f0d |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-5
|
|
Fedora Release Engineering |
865f0d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
Fedora Release Engineering |
865f0d |
|
|
Fedora Release Engineering |
d1bfa2 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-4
|
|
Fedora Release Engineering |
d1bfa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
Fedora Release Engineering |
d1bfa2 |
|
|
Fedora Release Engineering |
7bd7eb |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-3
|
|
Fedora Release Engineering |
7bd7eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
Fedora Release Engineering |
7bd7eb |
|
|
Fedora Release Engineering |
28caa9 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
|
|
Fedora Release Engineering |
28caa9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
Fedora Release Engineering |
28caa9 |
|
|
Andy Lutomirski |
c2c6e3 |
* Sat Apr 25 2020 luto@kernel.org - 1.11.1-1
|
|
Andy Lutomirski |
c2c6e3 |
- Update to 1.11
|
|
Andy Lutomirski |
c2c6e3 |
|
|
Andy Lutomirski |
ffab03 |
* Thu Mar 19 2020 luto@kernel.org - 1.10.1-1
|
|
Andy Lutomirski |
ffab03 |
- Update to 1.10.1
|
|
Andy Lutomirski |
ffab03 |
|
|
Fedora Release Engineering |
90ab3b |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-2
|
|
Fedora Release Engineering |
90ab3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
Fedora Release Engineering |
90ab3b |
|
|
Andy Lutomirski |
2c04c5 |
* Wed Oct 02 2019 luto@kernel.org - 1.9-1
|
|
Andy Lutomirski |
2c04c5 |
- Update to 1.9
|
|
Andy Lutomirski |
b308a8 |
- Certain fabric functionality may not work yet due to missing dracut
|
|
Andy Lutomirski |
b308a8 |
support and missing hostid and hostnqn configuration.
|
|
Andy Lutomirski |
2c04c5 |
|
|
Fedora Release Engineering |
6087a4 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-2
|
|
Fedora Release Engineering |
6087a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
Fedora Release Engineering |
6087a4 |
|
|
Andy Lutomirski |
d93a03 |
* Mon Apr 15 2019 luto@kernel.org - 1.8.1-1
|
|
Andy Lutomirski |
d93a03 |
- Update to 1.8.1-1.
|
|
Andy Lutomirski |
d93a03 |
- Remove a build hack.
|
|
Andy Lutomirski |
d93a03 |
|
|
Andy Lutomirski |
07cbe4 |
* Sun Feb 24 2019 luto@kernel.org - 1.7-2
|
|
Andy Lutomirski |
07cbe4 |
- Create /etc/nvme
|
|
Andy Lutomirski |
07cbe4 |
|
|
Andy Lutomirski |
3b78aa |
* Sun Feb 24 2019 luto@kernel.org - 1.7-1
|
|
Andy Lutomirski |
3b78aa |
- Bump to 1.7
|
|
Andy Lutomirski |
3b78aa |
- Clean up some trivial rpmlint complaints
|
|
Andy Lutomirski |
3b78aa |
|
|
Fedora Release Engineering |
637080 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
|
|
Fedora Release Engineering |
637080 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
Fedora Release Engineering |
637080 |
|
|
Andy Lutomirski |
63300e |
* Tue Jul 24 2018 luto@kernel.org - 1.6-1
|
|
Andy Lutomirski |
63300e |
- Update to 1.6
|
|
Andy Lutomirski |
63300e |
|
|
Fedora Release Engineering |
89efd4 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
|
|
Fedora Release Engineering |
89efd4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
Fedora Release Engineering |
89efd4 |
|
|
Fedora Release Engineering |
2b235a |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
|
Fedora Release Engineering |
2b235a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
Fedora Release Engineering |
2b235a |
|
|
Andy Lutomirski |
2ebfdd |
* Wed Nov 22 2017 luto@kernel.org - 1.4-1
|
|
Andy Lutomirski |
2ebfdd |
- Update to 1.4
|
|
Andy Lutomirski |
2ebfdd |
|
|
Fedora Release Engineering |
ea3c20 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
|
Fedora Release Engineering |
ea3c20 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
Fedora Release Engineering |
ea3c20 |
|
|
Fedora Release Engineering |
ace430 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
|
|
Fedora Release Engineering |
ace430 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
Fedora Release Engineering |
ace430 |
|
|
Andy Lutomirski |
a25eb8 |
* Mon May 22 2017 luto@kernel.org - 1.3-1
|
|
Andy Lutomirski |
a25eb8 |
- Update to 1.3
|
|
Andy Lutomirski |
a25eb8 |
|
|
Andy Lutomirski |
a25eb8 |
* Wed Apr 19 2017 luto@kernel.org - 1.2-2
|
|
Andy Lutomirski |
6e21ba |
- Update to 1.2
|
|
Andy Lutomirski |
a25eb8 |
- 1.2-1 never existed
|
|
Andy Lutomirski |
6e21ba |
|
|
Fedora Release Engineering |
12e105 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
|
|
Fedora Release Engineering |
12e105 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
Fedora Release Engineering |
12e105 |
|
|
Andy Lutomirski |
903be2 |
* Wed Feb 01 2017 luto@kernel.org - 1.1-1
|
|
Andy Lutomirski |
903be2 |
- Update to 1.1
|
|
Andy Lutomirski |
903be2 |
|
|
Andy Lutomirski |
de28c0 |
* Sun Nov 20 2016 luto@kernel.org - 1.0-1
|
|
Andy Lutomirski |
de28c0 |
- Update to 1.0
|
|
Andy Lutomirski |
de28c0 |
|
|
Andy Lutomirski |
0ff168 |
* Mon Oct 31 2016 luto@kernel.org - 0.9-1
|
|
Andy Lutomirski |
0ff168 |
- Update to 0.9
|
|
Andy Lutomirski |
0ff168 |
|
|
Andy Lutomirski |
1fd710 |
* Thu Jun 30 2016 luto@kernel.org - 0.8-1
|
|
Andy Lutomirski |
1fd710 |
- Update to 0.8
|
|
Andy Lutomirski |
1fd710 |
|
|
Andy Lutomirski |
8e1c0d |
* Tue May 31 2016 luto@kernel.org - 0.7-1
|
|
Andy Lutomirski |
8e1c0d |
- Update to 0.7
|
|
Andy Lutomirski |
8e1c0d |
|
|
Andy Lutomirski |
93dcb8 |
* Fri Mar 18 2016 luto@kernel.org - 0.5-1
|
|
Andy Lutomirski |
93dcb8 |
- Update to 0.5
|
|
Andy Lutomirski |
93dcb8 |
|
|
Andy Lutomirski |
e4e76e |
* Sun Mar 06 2016 luto@kernel.org - 0.4-1
|
|
Andy Lutomirski |
e4e76e |
- Update to 0.4
|
|
Andy Lutomirski |
e4e76e |
|
|
Fedora Release Engineering |
b44adf |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3.20160112gitbdbb4da
|
|
Fedora Release Engineering |
b44adf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
Fedora Release Engineering |
b44adf |
|
|
Andy Lutomirski |
ec8e84 |
* Wed Jan 20 2016 luto@kernel.org - 0.2-2.20160112gitbdbb4da
|
|
Andy Lutomirski |
ec8e84 |
- Update to new upstream commit, fixing #49. "nvme list" now works.
|
|
Andy Lutomirski |
ec8e84 |
|
|
Andy Lutomirski |
ec8e84 |
* Wed Jan 13 2016 luto@kernel.org - 0.2-1.20160112gitde3e0f1
|
|
Andy Lutomirski |
ec8e84 |
- Initial import.
|