* Fri Mar 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.0~rc5-1

- Update to 2.0-rc5
This commit is contained in:
Tomas Bzatek 2022-03-04 14:37:03 +01:00
parent 865f0d7197
commit dee40aade1
3 changed files with 32 additions and 19 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
/v1.10.1.tar.gz /v1.10.1.tar.gz
/v1.11.tar.gz /v1.11.tar.gz
/v1.11.1.tar.gz /v1.11.1.tar.gz
/nvme-cli-2.0-rc4.tar.gz

View File

@ -1,40 +1,44 @@
#%%global commit0 bdbb4da0979fbdc079cf98410cdb31cf799e83b3
#%%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
Name: nvme-cli Name: nvme-cli
Version: 1.11.1 Version: 2.0~rc5
Release: 5%{?dist} Release: 1%{?dist}
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/%%{commit0}.tar.gz Source0: %{url}/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
BuildRequires: make BuildRequires: meson >= 0.47.0
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: gcc BuildRequires: gcc gcc-c++
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: libnvme-devel >= 1.0~rc4
BuildRequires: json-c-devel >= 0.14
BuildRequires: python3-nose2
BuildRequires: python3-mypy
BuildRequires: python3-flake8
BuildRequires: python3-autopep8
BuildRequires: python3-isort
BuildRequires: asciidoc
BuildRequires: xmlto
%description %description
nvme-cli provides NVM-Express user space tooling for Linux. nvme-cli provides NVM-Express user space tooling for Linux.
%prep %prep
#%%setup -qn %%{name}-%%{commit0} %autosetup -p1 -n %{name}-%{version_no_tilde}
%setup -q
%build %build
%meson -Dudevrulesdir=%{_udevrulesdir} -Dsystemddir=%{_unitdir} -Ddocs=all -Ddocs-build=true -Dhtmldir=%{_pkgdocdir}
# CFLAGS on the command line breaks the build. It works okay as an %meson_build
# environment variable, though. See:
# https://github.com/linux-nvme/nvme-cli/pull/480
CFLAGS="%{optflags}" make PREFIX=/usr LDFLAGS="%{__global_ldflags}" %{?_smp_mflags}
%install %install
%make_install PREFIX=/usr UDEVDIR="%{_udevrulesdir}/.." SYSTEMDDIR="%{_unitdir}/.." %meson_install
mkdir -p %{buildroot}%{_sysconfdir}/nvme
# hostid and hostnqn are supposed to be unique per machine. We obviously # hostid and hostnqn are supposed to be unique per machine. We obviously
# can't package them. # can't package them.
@ -44,10 +48,15 @@ rm -f %{buildroot}%{_sysconfdir}/nvme/hostnqn
# Do not install the dracut rule yet. See rhbz 1742764 # Do not install the dracut rule yet. See rhbz 1742764
rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
# Move html docs into the right place
mv %{buildroot}%{_pkgdocdir}/nvme %{buildroot}%{_pkgdocdir}/html
rm -rf %{buildroot}%{_pkgdocdir}/nvme
%files %files
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%doc %{_pkgdocdir}
%{_sbindir}/nvme %{_sbindir}/nvme
%{_mandir}/man1/nvme*.gz %{_mandir}/man1/nvme*.gz
%{_datadir}/bash-completion/completions/nvme %{_datadir}/bash-completion/completions/nvme
@ -65,6 +74,9 @@ rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
%changelog %changelog
* Fri Mar 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.0~rc5-1
- Update to 2.0-rc5
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-5 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (v1.11.1.tar.gz) = 467e327f45500d80cebd6e5e55d4e6d3731a754423e71180efa9d4f5e98f0774f7a31393fefc2794250b487446005dad8e7002a27aff1f2b285983d55ec0d0b3 SHA512 (nvme-cli-2.0-rc4.tar.gz) = 875ebf9842f8b25ec1584d6336df3b1fc8961856cf04f3621e2dea25fc9a927d0caa850001de0dbf01785cfe4688adde3eb355be11b40fa1a90f0c298589f88c