public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karl Bonde Torp <k.torp@samsung.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xnvme] f43: Bump to v0.8.1
Date: Tue, 24 Nov 2026 14:35:28 GMT	[thread overview]
Message-ID: <179553092810.1.40901337955695280.rpms-xnvme-167cc952e39a@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-11-24 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179553092810.1.40901337955695280.rpms-xnvme-167cc952e39a@fedoraproject.org \
    --to=k.torp@samsung.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox