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/rocjpeg] rawhide: merge compat changes
Date: Sat, 06 Jun 2026 20:36:12 GMT [thread overview]
Message-ID: <178077817212.1.17177609906924088714.rpms-rocjpeg-f5df88ef2554@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocjpeg
Branch : rawhide
Commit : f5df88ef25543e0bfdeb2c301d9a38e990a5c0cc
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-06-06T13:35:47-07:00
Stats : +15/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocjpeg/c/f5df88ef25543e0bfdeb2c301d9a38e990a5c0cc?branch=rawhide
Log:
merge compat changes
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocjpeg.spec b/rocjpeg.spec
index e3f212c..7d54ea6 100644
--- a/rocjpeg.spec
+++ b/rocjpeg.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: A high-performance jpeg decode library for AMD’s GPUs
@@ -108,6 +110,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}
@@ -143,6 +146,8 @@ Requires: Mesa-libva
%else
Requires: mesa-va-drivers
%endif
+Requires: rocm-filesystem%{pkg_suffix}
+Requires: rocm-hip%{pkg_suffix}
Provides: rocjpeg%{pkg_suffix} = %{version}-%{release}
# Only x86_64 works right now:
@@ -166,10 +171,11 @@ Summary: Shared libraries for %{name}
%package devel
Summary: The development package for %{name}
Requires: %{pkg_name}%{?_isa} = %{version}-%{release}
+Requires: rocm-filesystem%{pkg_suffix}
Provides: rocjpeg%{pkg_suffix}-devel = %{version}-%{release}
%description devel
-The rocJPEG development package.
+%{summary}.
%prep
%if %{with preview}
@@ -211,7 +217,10 @@ sed -i -e 's@${LINK_LIBRARY_LIST} ${LIBVA_DRM_LIBRARY}@${LINK_LIBRARY_LIST} ${LI
-DCMAKE_C_COMPILER=%rocmllvm_bindir/amdclang \
-DCMAKE_CXX_COMPILER=%rocmllvm_bindir/amdclang++ \
-DCMAKE_INSTALL_LIBDIR=%{pkg_libdir} \
- -DCMAKE_INSTALL_PREFIX=%{pkg_prefix}
+ -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}
%cmake_build
@@ -247,6 +256,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/packages/librocjpeg1-asan/LICENSE
%{pkg_prefix}/share/rocjpeg/
%changelog
+* Sat Jun 6 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- merge compat changes
+
* Wed Apr 22 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
- Generate suse package names
reply other threads:[~2026-06-06 20:36 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=178077817212.1.17177609906924088714.rpms-rocjpeg-f5df88ef2554@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