Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Tomas Bzatek
8913276269 * Fri May 19 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.2.1-2
- Rebuild with clang

There's something wrong with gcc on Fedora 37, causing weird
miscompilation in commandline option parsing. Rebuilding
the same code on Fedora 38 makes it work just fine.

Same thing with clang, once recompiled on Fedora 37, the issue
is gone.
2023-05-19 15:36:10 +02:00
Tomas Bzatek
f4db33fb55 * Fri Nov 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.2.1-1
- Update to 2.2.1
2022-11-04 17:42:28 +01:00
Tomas Bzatek
1cc90754b7 CentOS Stream 8+9 compability
It is still possible to build this package for RHEL/CentOS (Stream) 8 and 9
given that recent libnvme is built the same way (e.g. in Copr).
2022-11-01 17:07:58 +01:00
Tomas Bzatek
058d9ab599 Require libuuid
Also libuuid seems to be still in use despite the release notes and
the meson requirements state otherwise.
2022-11-01 15:54:05 +01:00
Tomas Bzatek
0b4730557f Requires libnvme-devel-1.2
Although not required by meson, compilation actually fails on removed uuid symbols.
2022-11-01 14:53:44 +01:00
Tomas Bzatek
d1eddcdd24 * Tue Nov 01 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.2-1
- Update to 2.2
2022-11-01 14:41:11 +01:00
Tomas Bzatek
ccb940fa3d * Fri Aug 19 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.1.2-1
- Update to 2.1.2
2022-08-19 16:57:05 +02:00
3 changed files with 31 additions and 9 deletions

3
.gitignore vendored
View file

@ -24,3 +24,6 @@
/nvme-cli-2.0.tar.gz
/nvme-cli-2.1-rc0.tar.gz
/nvme-cli-2.1.1.tar.gz
/nvme-cli-2.1.2.tar.gz
/nvme-cli-2.2.tar.gz
/nvme-cli-2.2.1.tar.gz

View file

@ -1,26 +1,33 @@
# RHEL 8 compatibility
%{!?version_no_tilde: %define version_no_tilde %{shrink:%(echo '%{version}' | tr '~' '-')}}
%global toolchain clang
Name: nvme-cli
Version: 2.1.1
Release: 1%{?dist}
Version: 2.2.1
Release: 2%{?dist}
Summary: NVMe management command line interface
License: GPLv2
URL: https://github.com/linux-nvme/nvme-cli
Source0: %{url}/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
BuildRequires: meson >= 0.47.0
BuildRequires: libuuid-devel
BuildRequires: gcc gcc-c++
BuildRequires: meson >= 0.48.0
BuildRequires: clang
BuildRequires: systemd-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: libnvme-devel >= 1.1
BuildRequires: json-c-devel >= 0.14
BuildRequires: libnvme-devel >= 1.2
BuildRequires: json-c-devel >= 0.13
%if (0%{?rhel} == 0)
BuildRequires: python3-nose2
BuildRequires: python3-mypy
BuildRequires: python3-flake8
BuildRequires: python3-autopep8
BuildRequires: python3-isort
%endif
BuildRequires: asciidoc
BuildRequires: xmlto
@ -40,6 +47,7 @@ nvme-cli provides NVM-Express user space tooling for Linux.
%install
%meson_install
%{__install} -pm 644 README.md %{buildroot}%{_pkgdocdir}
# hostid and hostnqn are supposed to be unique per machine. We obviously
# can't package them.
@ -58,7 +66,6 @@ rm -rf %{buildroot}%{_pkgdocdir}/nvme
%files
%license LICENSE
%doc README.md
%doc %{_pkgdocdir}
%{_sbindir}/nvme
%{_mandir}/man1/nvme*.gz
@ -77,6 +84,18 @@ rm -rf %{buildroot}%{_pkgdocdir}/nvme
%changelog
* Fri May 19 2023 Tomas Bzatek <tbzatek@redhat.com> - 2.2.1-2
- Rebuild with clang
* Fri Nov 04 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.2.1-1
- Update to 2.2.1
* Tue Nov 01 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.2-1
- Update to 2.2
* Fri Aug 19 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.1.2-1
- Update to 2.1.2
* Fri Aug 05 2022 Tomas Bzatek <tbzatek@redhat.com> - 2.1.1-1
- Update to 2.1.1

View file

@ -1 +1 @@
SHA512 (nvme-cli-2.1.1.tar.gz) = 61a8e7c0ae8da082ac0cda2fdf61ffe8d83ed5d4ee31640bde89fde929ba3fe6d788950bd232630af2c7fc5f3563f05f47f350e005c8556691e5aede73c88d74
SHA512 (nvme-cli-2.2.1.tar.gz) = 8efa94d49a4d443cdb0310386733e88117f17719b05044f11e63e2a09143fce55918171b457a467371263ebb2e36552558aad249ae4dbd27941af79fe9722e26