public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Autumn Nash <autumnnash@microsoft.com>
To: git-commits@fedoraproject.org
Subject: [rpms/oneapi-level-zero] epel10: Use %{_vpath_builddir} macro instead of hardcoded build directory
Date: Fri, 16 Oct 2026 21:02:56 GMT [thread overview]
Message-ID: <179218457698.1.16449858422279627992.rpms-oneapi-level-zero-30211c3be4ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/oneapi-level-zero
Branch : epel10
Commit : 30211c3be4ea4ffceb9b6820e5939abeda1ac2e7
Author : Autumn Nash <autumnnash@microsoft.com>
Date : 2026-05-11T17:49:32+00:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/oneapi-level-zero/c/30211c3be4ea4ffceb9b6820e5939abeda1ac2e7?branch=epel10
Log:
Use %{_vpath_builddir} macro instead of hardcoded build directory
Replace hardcoded 'redhat-linux-build' with the %{_vpath_builddir} RPM
macro when installing the zello_world binary. This makes the spec
portable across build environments where the vpath build directory name
differs (e.g. Azure Linux, other rebuilders).
Signed-off-by: Autumn Nash <autumncapasso@gmail.com>
---
diff --git a/oneapi-level-zero.spec b/oneapi-level-zero.spec
index e9a3b01..fe378f1 100644
--- a/oneapi-level-zero.spec
+++ b/oneapi-level-zero.spec
@@ -60,7 +60,7 @@ export CXXFLAGS="%{build_cxxflags} -DFMT_HEADER_ONLY=1"
%cmake_install
# Install also the zello_world binary to ease up testing of the l0
mkdir -p %{buildroot}%{_bindir}/
-install -p -m 755 ./redhat-linux-build/bin/zello_world %{buildroot}%{_bindir}/zello_world
+install -p -m 755 ./%{_vpath_builddir}/bin/zello_world %{buildroot}%{_bindir}/zello_world
chrpath --delete %{buildroot}%{_bindir}/zello_world
# Generate and install man pages.
reply other threads:[~2026-10-16 21:02 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=179218457698.1.16449858422279627992.rpms-oneapi-level-zero-30211c3be4ea@fedoraproject.org \
--to=autumnnash@microsoft.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