public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xnvme] f43: Bump to v0.8.1
@ 2026-11-24 14:35 Karl Bonde Torp
  0 siblings, 0 replies; only message in thread
From: Karl Bonde Torp @ 2026-11-24 14:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/xnvme
            Branch : f43
            Commit : 167cc952e39a6130914b9928967f7bb8cee3da7c
            Author : Karl Bonde Torp <k.torp@samsung.com>
            Date   : 2026-11-24T15:21:08+01:00
            Stats  : +25/-41 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/xnvme/c/167cc952e39a6130914b9928967f7bb8cee3da7c?branch=f43

            Log:
            Bump to v0.8.1

v0.8.0 replaced the kvs, lblk, xdd, zoned and xnvme_file tools with the
xnvme front-end, which runs the programs it installs under libexec, and
added systemd units for homi and qublk. Package those in -tools, with
the systemd scriptlets for the units and the example configurations
under /etc/xnvme.

Drop the rpath patch: upstream omits the rpath for a /usr prefix now.
Disable CUDA and HIP and require CUSE and systemd, so the build does
not change with what the buildroot happens to contain.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Karl Bonde Torp <k.torp@samsung.com>

---
diff --git a/.gitignore b/.gitignore
index 00ec983..2d47a95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /xnvme-0.7.4.tar.gz
 /xnvme-0.7.5.tar.gz
+/xnvme-0.8.1.tar.gz

diff --git a/0001-remove-rpath.patch b/0001-remove-rpath.patch
deleted file mode 100644
index 951c983..0000000
--- a/0001-remove-rpath.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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

diff --git a/sources b/sources
index 1f8df0a..d6a90bb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xnvme-0.7.5.tar.gz) = 801bcd8e742e63eaa4df8fb8fff19682ee087f48ddce430dea7cd752c9fa3e602371ccdb360391f62cd0ab49d1423a45b11287a5cb7ce0edba1003332f6e5cdc
+SHA512 (xnvme-0.8.1.tar.gz) = 3a4d356fa239b352f63a01a4d44c2b6b1bfefdfff78ba18dd055555bdbc778491dd3c2bb76cf4038c6ee8ebfae059a2b25a5c1529df209689ab45d8e651d85ac

diff --git a/xnvme.spec b/xnvme.spec
index 9ee8b66..c3410e2 100644
--- a/xnvme.spec
+++ b/xnvme.spec
@@ -1,15 +1,12 @@
 Name:           xnvme
-Version:        0.7.5
-Release:        7%{?dist}
+Version:        0.8.1
+Release:        1%{?dist}
 Summary:        Unified API and tools for traditional and emerging I/O interfaces
 
 License:        BSD-3-Clause
 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}
@@ -18,6 +15,8 @@ BuildRequires:  meson
 BuildRequires:  gcc
 BuildRequires:  libaio-devel
 BuildRequires:  liburing-devel
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  systemd-rpm-macros
 
 %description
 %{summary}.
@@ -50,7 +49,7 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 %autosetup -p1
 
 %build
-%meson -Dforce_completions=true -Dwith-libvfn=disabled -Dwith-isal=disabled -Dwith-spdk=disabled -Dexamples=false -Dtests=false
+%meson -Dforce_completions=true -Dwith-libvfn=disabled -Dwith-isal=disabled -Dwith-spdk=disabled -Dwith-cuda=disabled -Dwith-hip=disabled -Dwith-cuse=enabled -Dsystemd=enabled -Dexamples=false -Dtests=false
 %meson_build
 
 %install
@@ -59,6 +58,12 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 %check
 %meson_test --num-processes 1
 
+%post tools
+%systemd_post xnvme-homi@.service xnvme-qublk@.service
+
+%preun tools
+%systemd_preun xnvme-homi@.service xnvme-qublk@.service
+
 %files
 %license LICENSE
 %{_libdir}/lib%{name}.so.0*
@@ -72,33 +77,23 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 %{_libdir}/lib%{name}.a
 
 %files tools
-%{_bindir}/kvs
-%{_bindir}/lblk
-%{_bindir}/xdd
 %{_bindir}/%{name}
-%{_bindir}/%{name}-driver
-%{_bindir}/%{name}_file
-%{_bindir}/zoned
-%{_mandir}/man1/kvs.1*
-%{_mandir}/man1/kvs-*.1*
-%{_mandir}/man1/lblk.1*
-%{_mandir}/man1/lblk-*.1*
-%{_mandir}/man1/xdd.1*
-%{_mandir}/man1/xdd-*.1*
+%{_libexecdir}/%{name}/
 %{_mandir}/man1/%{name}.1*
 %{_mandir}/man1/%{name}-*.1*
-%{_mandir}/man1/%{name}_file.1*
-%{_mandir}/man1/%{name}_file-*.1*
-%{_mandir}/man1/zoned.1*
-%{_mandir}/man1/zoned-*.1*
-%{bash_completions_dir}/kvs-completions
-%{bash_completions_dir}/lblk-completions
-%{bash_completions_dir}/xdd-completions
-%{bash_completions_dir}/%{name}-completions
-%{bash_completions_dir}/%{name}_file-completions
-%{bash_completions_dir}/zoned-completions
+%{bash_completions_dir}/%{name}
+%{_unitdir}/%{name}-homi@.service
+%{_unitdir}/%{name}-qublk@.service
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/homi.conf.example
+%config(noreplace) %{_sysconfdir}/%{name}/qublk.conf.example
 
 %changelog
+* Tue Nov 24 2026 Karl B. Torp <k.torp@samsung.com> - 0.8.1-1
+- Bump to v0.8.1
+- Drop the rpath patch; upstream omits the rpath for a /usr prefix
+- Package the xnvme front-end, its libexec programs and the homi/qublk systemd units
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-24 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 14:35 [rpms/xnvme] f43: Bump to v0.8.1 Karl Bonde Torp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox