diff --git a/nvme-cli.spec b/nvme-cli.spec index 2518311..8c32cec 100644 --- a/nvme-cli.spec +++ b/nvme-cli.spec @@ -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 - 1.16-1 +- update to 1.16 + * Tue Nov 19 2019 mengxian@huawei.com - 1.6-2 - Package init diff --git a/v1.16.tar.gz b/v1.16.tar.gz new file mode 100644 index 0000000..dad51d4 Binary files /dev/null and b/v1.16.tar.gz differ diff --git a/v1.6.tar.gz b/v1.6.tar.gz deleted file mode 100644 index 93dfc7a..0000000 Binary files a/v1.6.tar.gz and /dev/null differ