public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/oneapi-level-zero] epel10: Update to 1.26.2 (rhbz#2422855)
@ 2026-10-16 21:02 Luya Tshimbalanga
  0 siblings, 0 replies; only message in thread
From: Luya Tshimbalanga @ 2026-10-16 21:02 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/oneapi-level-zero
            Branch : epel10
            Commit : df0464d49734f40601a219d49beba19ee3be3c60
            Author : Luya Tshimbalanga <luya@fedoraproject.org>
            Date   : 2025-12-16T17:28:48-08:00
            Stats  : +15/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/oneapi-level-zero/c/df0464d49734f40601a219d49beba19ee3be3c60?branch=epel10

            Log:
            Update to 1.26.2 (rhbz#2422855)

This commit also generates a man1 file for zello_word command

---
diff --git a/oneapi-level-zero.spec b/oneapi-level-zero.spec
index 4e09b42..d9f8dc7 100644
--- a/oneapi-level-zero.spec
+++ b/oneapi-level-zero.spec
@@ -1,6 +1,6 @@
 %global srcname level-zero
 %global lib_version 1.26
-%global patch_version 1
+%global patch_version 2
 
 Name:           oneapi-%{srcname}
 Version:        %{lib_version}.%{patch_version}
@@ -16,6 +16,7 @@ ExclusiveArch:  x86_64
 BuildRequires:  chrpath
 BuildRequires:  gcc-c++
 BuildRequires:  cmake
+BuildRequires:  help2man
 BuildRequires:  spdlog-devel
 
 # Useful for a quick oneAPI Level-Zero testing
@@ -61,6 +62,17 @@ mkdir -p %{buildroot}%{_bindir}/
 install -p -m 755 ./redhat-linux-build/bin/zello_world %{buildroot}%{_bindir}/zello_world
 chrpath --delete %{buildroot}%{_bindir}/zello_world
 
+# Generate and install man pages.
+install -d '%{buildroot}%{_mandir}/man1'
+for cmd in %{buildroot}%{_bindir}/*
+do
+  LD_LIBRARY_PATH='%{buildroot}%{_libdir}' \
+      help2man \
+      --no-info --no-discard-stderr --version-string='%{version}' \
+      --output="%{buildroot}%{_mandir}/man1/$(basename "${cmd}").1" \
+      "${cmd}"
+done
+
 %files
 %license LICENSE
 %doc README.md SECURITY.md
@@ -73,6 +85,7 @@ chrpath --delete %{buildroot}%{_bindir}/zello_world
 
 %files zello_world
 %{_bindir}/zello_world
+%{_mandir}/man1/zello_world.1.gz
 
 %files devel
 %{_includedir}/level_zero

diff --git a/sources b/sources
index d93d277..0c59b41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (level-zero-1.26.1.tar.gz) = d3c07c870e8629303f86154dc48a433e46921f5dd1851b76cd8c9f3047d1704c5e873e8b25209a4879cc4601cd84d1ab9c6ce48a5f33249dbfc956795e6efa42
+SHA512 (level-zero-1.26.2.tar.gz) = 44529dad1f4ae241ca0b288e7ac7779adb75a2224c4755552424438b7e6a08d238879b138c9b8f36ca2cbaf4d6bdfb9ec23fb2293a03547ce8cfd74ab18eee26

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

only message in thread, other threads:[~2026-10-16 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 21:02 [rpms/oneapi-level-zero] epel10: Update to 1.26.2 (rhbz#2422855) Luya Tshimbalanga

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