From 8913276269d20edcddaea27884214094d87eb8ef Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: May 19 2023 13:36:10 +0000 Subject: * Fri May 19 2023 Tomas Bzatek - 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. --- diff --git a/nvme-cli.spec b/nvme-cli.spec index 3a1e508..bf76b28 100644 --- a/nvme-cli.spec +++ b/nvme-cli.spec @@ -1,9 +1,11 @@ # RHEL 8 compatibility %{!?version_no_tilde: %define version_no_tilde %{shrink:%(echo '%{version}' | tr '~' '-')}} +%global toolchain clang + Name: nvme-cli Version: 2.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: NVMe management command line interface License: GPLv2 @@ -11,7 +13,7 @@ URL: https://github.com/linux-nvme/nvme-cli Source0: %{url}/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz BuildRequires: meson >= 0.48.0 -BuildRequires: gcc gcc-c++ +BuildRequires: clang BuildRequires: systemd-devel BuildRequires: zlib-devel BuildRequires: openssl-devel @@ -82,6 +84,9 @@ rm -rf %{buildroot}%{_pkgdocdir}/nvme %changelog +* Fri May 19 2023 Tomas Bzatek - 2.2.1-2 +- Rebuild with clang + * Fri Nov 04 2022 Tomas Bzatek - 2.2.1-1 - Update to 2.2.1