public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rocdecode] rawhide: merge compat changes
Date: Sat, 20 Jun 2026 14:17:50 GMT [thread overview]
Message-ID: <178196507023.1.6372236896272812031.rpms-rocdecode-450495f011b2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocdecode
Branch : rawhide
Commit : 450495f011b2d7b4df036c0df64d1083b017897d
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-06-20T07:17:13-07:00
Stats : +15/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocdecode/c/450495f011b2d7b4df036c0df64d1083b017897d?branch=rawhide
Log:
merge compat changes
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocdecode.spec b/rocdecode.spec
index 3b1206f..70d30c6 100644
--- a/rocdecode.spec
+++ b/rocdecode.spec
@@ -44,11 +44,13 @@
%global pkg_prefix %{_prefix}/lib64/rocm/rocm-%{rocm_release}
%global pkg_suffix %{rocm_release}
%global pkg_module rocm%{pkg_suffix}
+%global skip_install_rpath OFF
%else
%global pkg_libdir %{_lib}
%global pkg_prefix %{_prefix}
%global pkg_suffix %{nil}
%global pkg_module default
+%global skip_install_rpath ON
%endif
%if 0%{?suse_version}
@@ -88,7 +90,7 @@ Version: %{rocm_version}
%if %{with preview}
Release: 0%{?dist}
%else
-Release: 4%{?dist}
+Release: 5%{?dist}
%endif
Summary: High-performance video decode SDK for AMD GPUs
@@ -110,6 +112,7 @@ BuildRequires: libva-devel
BuildRequires: rocm-cmake%{pkg_suffix}
BuildRequires: rocm-comgr%{pkg_suffix}-devel
BuildRequires: rocm-compilersupport%{pkg_suffix}-macros
+BuildRequires: rocm-filesystem%{pkg_suffix}
BuildRequires: rocm-hip%{pkg_suffix}-devel
BuildRequires: rocm-runtime%{pkg_suffix}-devel
BuildRequires: rocm-rpm-macros%{pkg_suffix}
@@ -126,7 +129,7 @@ BuildRequires: libavcodec-free-devel
BuildRequires: libavformat-free-devel
BuildRequires: libavutil-free-devel
BuildRequires: mesa-va-drivers
-BuildRequires: rocprofiler-register-devel
+BuildRequires: rocprofiler-register%{pkg_suffix}-devel
%endif
%if %{with ninja}
@@ -142,6 +145,9 @@ BuildRequires: ninja
# Rocdecode isn't useful without AMD's mesa va drivers:
Requires: mesa-va-drivers
Provides: rocdecode%{pkg_suffix} = %{version}-%{release}
+Requires: rocm-filesystem%{pkg_suffix}
+Requires: rocm-hip%{pkg_suffix}
+Requires: rocprofiler-register%{pkg_suffix}
# Only x86_64 works right now:
ExclusiveArch: x86_64
@@ -163,6 +169,7 @@ Summary: Runtime for %{name}
%package devel
Summary: The rocDecode development package
Requires: %{pkg_name}%{?_isa} = %{version}-%{release}
+Requires: rocm-filesystem%{pkg_suffix}
Provides: rocdecode%{pkg_suffix}-devel = %{version}-%{release}
%description devel
@@ -198,6 +205,9 @@ sed -i -e 's@${LINK_LIBRARY_LIST} ${LIBVA_DRM_LIBRARY}@${LINK_LIBRARY_LIST} ${LI
-DCMAKE_CXX_COMPILER=%rocmllvm_bindir/amdclang++ \
-DCMAKE_INSTALL_LIBDIR=%{pkg_libdir} \
-DCMAKE_INSTALL_PREFIX=%{pkg_prefix} \
+ -DCMAKE_INSTALL_RPATH=%{pkg_prefix}/%{pkg_libdir} \
+ -DCMAKE_SKIP_RPATH=%{skip_install_rpath} \
+ -DCMAKE_SKIP_INSTALL_RPATH=%{skip_install_rpath} \
-DROCM_PATH=%{pkg_prefix}
%cmake_build
@@ -231,6 +241,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/packages/%{name}-asan/LICENSE
%{pkg_prefix}/share/rocdecode
%changelog
+* Sat Jun 20 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- merge compat changes
+
* Tue Apr 21 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
- Generate suse package name
reply other threads:[~2026-06-20 14:17 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=178196507023.1.6372236896272812031.rpms-rocdecode-450495f011b2@fedoraproject.org \
--to=tom.rix@amd.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