rebuilt with fortify_level 2; don't install dracut rules file as seen in Fedora after reported boot problem [release 2.11-2mamba;Mon Jan 13 2025]

This commit is contained in:
2025-01-17 09:38:14 +01:00
parent 60769900cb
commit 4422f9764d
2 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,3 @@
# nvme-cli
NVM-Express user space tooling for Linux.

View File

@ -1,6 +1,6 @@
Name: nvme-cli
Version: 2.11
Release: 1mamba
Release: 2mamba
Summary: NVM-Express user space tooling for Linux
Group: System/Kernel and Hardware
Vendor: openmamba
@ -11,6 +11,7 @@ Source: https://github.com/linux-nvme/nvme-cli.git/v%{version}/nvme-cli-%
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libjson-c-devel
BuildRequires: libnvme-devel
## AUTOBUILDREQ-END
@ -18,13 +19,15 @@ BuildRequires: libnvme-devel
%description
NVM-Express user space tooling for Linux.
%debug_package
# Seen in Arch Linux: this uses malloc_usable_size, which is incompatible with fortification level 3
%define _fortify_level 2
%prep
%setup -q
%build
%meson
%meson \
--sbindir=%{_bindir}
%meson_build
@ -32,6 +35,9 @@ NVM-Express user space tooling for Linux.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
# Do not install the dracut rule yet. See rhbz 1742764
rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
%preun
%systemd_preun nvmf-autoconnect
:
@ -51,8 +57,8 @@ NVM-Express user space tooling for Linux.
%defattr(-,root,root)
%dir %{_sysconfdir}/nvme
%config(noreplace) %{_sysconfdir}/nvme/discovery.conf
%{_sbindir}/nvme
%{_prefix}/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
%{_bindir}/nvme
#%{_prefix}/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
%{_unitdir}/nvmefc-boot-connections.service
%{_unitdir}/nvmf-autoconnect.service
%{_unitdir}/nvmf-connect.target
@ -68,6 +74,9 @@ NVM-Express user space tooling for Linux.
%doc LICENSE
%changelog
* Mon Jan 13 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-2mamba
- rebuilt with fortify_level 2; don't install dracut rules file as seen in Fedora after reported boot problem
* Sun Nov 03 2024 Automatic Build System <autodist@openmamba.org> 2.11-1mamba
- automatic version update by autodist