Compare commits

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

3 commits

Author SHA1 Message Date
Karl B. Torp
1ab81810c2 run meson test sequentially to avoid running out of memory 2024-10-14 08:49:57 +00:00
Karl B. Torp
538a40a0ea add patch for removing rpath 2024-10-14 08:49:57 +00:00
Karl B. Torp
22eb784583 Bump to v0.7.5 2024-10-14 08:49:54 +00:00
4 changed files with 25 additions and 6 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/xnvme-0.7.4.tar.gz
/xnvme-0.7.5.tar.gz

12
0001-remove-rpath.patch Normal file
View file

@ -0,0 +1,12 @@
diff --git a/tools/meson.build b/tools/meson.build
index 9f9a2863..55162f97 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -49,7 +49,6 @@ foreach source, tests : tools
include_directories: [conf_inc, xnvme_inc],
link_args: link_args_hardening,
link_with: xnvmelib,
- install_rpath: xnvmelib_libdir,
install: true,
)
foreach test : tests

View file

@ -1 +1 @@
SHA512 (xnvme-0.7.4.tar.gz) = f5c938aba7e0cfcb5f7d7db340de06f1833d4f19c3e0ab04522b60ea057eb8f6bbf0e546594fce46641b7b7ee9c60cd379d9ce582aa903ef8d2cb822e9b140e5
SHA512 (xnvme-0.7.5.tar.gz) = 801bcd8e742e63eaa4df8fb8fff19682ee087f48ddce430dea7cd752c9fa3e602371ccdb360391f62cd0ab49d1423a45b11287a5cb7ce0edba1003332f6e5cdc

View file

@ -1,12 +1,15 @@
Name: xnvme
Version: 0.7.4
Version: 0.7.5
Release: 3%{?dist}
Summary: Unified API and tools for traditional and emerging I/O interfaces
License: BSD-3-Clause
URL: https://github.com/OpenMPDK/xNVMe
URL: https://github.com/xnvme/xnvme
Source: %{url}/releases/download/v%{version}/xnvme-%{version}.tar.gz
# Remove rpath from binaries
Patch1: 0001-remove-rpath.patch
# The package makes 64 bit assumptions so exclude 32 bit i686.
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@ -44,17 +47,17 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%{summary}.
%prep
%autosetup
%autosetup -p1
%build
%meson -Dforce_completions=true -Dwith-libvfn=disabled -Dwith-isal=disabled -Dwith-spdk=false -Dexamples=false -Dtests=false
%meson -Dforce_completions=true -Dwith-libvfn=disabled -Dwith-isal=disabled -Dwith-spdk=disabled -Dexamples=false -Dtests=false
%meson_build
%install
%meson_install
%check
%meson_test
%meson_test --num-processes 1
%files
%license LICENSE
@ -96,6 +99,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%{bash_completions_dir}/zoned-completions
%changelog
* Fri Oct 11 2024 Karl B. Torp <k.torp@samsung.com> - 0.7.5-1
- Bump to v0.7.5
* Mon Mar 25 2024 Richard W.M. Jones <rjones@redhat.com> - 0.7.4-3
- Use %%{bash_completions_dir} macro