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/rocsolver] epel10: Generate suse package name
Date: Fri, 12 Jun 2026 17:20:54 GMT [thread overview]
Message-ID: <178128485491.1.6167081381266782796.rpms-rocsolver-6558276231cd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rocsolver
Branch : epel10
Commit : 6558276231cdf94ce4ef24fb1bc1e42826ce06ec
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-04-21T11:43:26-07:00
Stats : +20/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rocsolver/c/6558276231cdf94ce4ef24fb1bc1e42826ce06ec?branch=epel10
Log:
Generate suse package name
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/rocsolver.spec b/rocsolver.spec
index 800ece3..34a0224 100644
--- a/rocsolver.spec
+++ b/rocsolver.spec
@@ -21,6 +21,9 @@
#
%global upstreamname rocsolver
+%global pkg_library_name %{upstreamname}
+%global pkg_library_version 0
+
%bcond_with preview
%if %{with preview}
%global rocm_release 7.12
@@ -46,10 +49,11 @@
%global pkg_suffix %{nil}
%global pkg_module default
%endif
+
%if 0%{?suse_version}
-%global rocsolver_name librocsolver0%{pkg_suffix}
+%global pkg_name lib%{pkg_library_name}%{pkg_library_version}%{pkg_suffix}
%else
-%global rocsolver_name rocsolver%{pkg_suffix}
+%global pkg_name %{NAME}
%endif
%global toolchain rocm
@@ -126,7 +130,7 @@ Version: %{rocm_version}
%if %{with preview}
Release: 0%{?dist}
%else
-Release: 4%{?dist}
+Release: 5%{?dist}
%endif
Summary: Next generation LAPACK implementation for ROCm platform
@@ -205,18 +209,18 @@ rocSOLVER is a work-in-progress implementation of a subset
of LAPACK functionality on the ROCm platform.
%if 0%{?suse_version}
-%package -n %{rocsolver_name}
+%package -n %{pkg_name}
Summary: Shared libraries for %{name}
-%description -n %{rocsolver_name}
+%description -n %{pkg_name}
%{summary}
-%ldconfig_scriptlets -n %{rocsolver_name}
+%ldconfig_scriptlets -n %{pkg_name}
%endif
%package devel
Summary: Libraries and headers for %{name}
-Requires: %{rocsolver_name}%{?_isa} = %{version}-%{release}
+Requires: %{pkg_name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}
@@ -224,7 +228,7 @@ Requires: %{rocsolver_name}%{?_isa} = %{version}-%{release}
%if %{with test}
%package test
Summary: Tests for %{name}
-Requires: %{rocsolver_name}%{?_isa} = %{version}-%{release}
+Requires: %{pkg_name}%{?_isa} = %{version}-%{release}
%description test
%{summary}
@@ -331,22 +335,21 @@ fi
%install
%cmake_install
-
+# Extra license
rm -f %{buildroot}%{pkg_prefix}/share/doc/rocsolver/LICENSE.md
-%files -n %{rocsolver_name}
+%files -n %{pkg_name}
%license LICENSE.md
%doc README.md
-
%if %{with preview}
-%{pkg_prefix}/%{pkg_libdir}/librocsolver.so.1{,.*}
+%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}.so.1{,.*}
%else
-%{pkg_prefix}/%{pkg_libdir}/librocsolver.so.0{,.*}
+%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}.so.%{pkg_library_version}{,.*}
%endif
%files devel
%{pkg_prefix}/include/rocsolver/
-%{pkg_prefix}/%{pkg_libdir}/librocsolver.so
+%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}.so
%{pkg_prefix}/%{pkg_libdir}/cmake/rocsolver/
%if %{with test}
@@ -356,6 +359,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/rocsolver/LICENSE.md
%endif
%changelog
+* Tue Apr 21 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- Generate suse package name
+
* Sat Mar 28 2026 Bernhard Wiedemann <bwiedemann@suse.de> - 7.2.0-4
- Don't fail build on 1-core-VM
reply other threads:[~2026-06-12 17:20 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=178128485491.1.6167081381266782796.rpms-rocsolver-6558276231cd@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