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/hipblas] epel10: Generate suse package name
Date: Sat, 13 Jun 2026 22:12:21 GMT	[thread overview]
Message-ID: <178138874138.1.8659219939181827233.rpms-hipblas-2a03d65a86c1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/hipblas
            Branch : epel10
            Commit : 2a03d65a86c1d328b0bb7cc7cc4219b26e55c293
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-04-20T14:15:49-07:00
            Stats  : +18/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/hipblas/c/2a03d65a86c1d328b0bb7cc7cc4219b26e55c293?branch=epel10

            Log:
            Generate suse package name

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/hipblas.spec b/hipblas.spec
index 86822c3..0c79074 100644
--- a/hipblas.spec
+++ b/hipblas.spec
@@ -21,6 +21,9 @@
 #
 %global upstreamname hipblas
 
+%global pkg_library_name %{upstreamname}
+%global pkg_library_version 3
+
 %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 hipblas_name libhipblas3%{pkg_suffix}
+%global pkg_name lib%{pkg_library_name}%{pkg_library_version}%{pkg_suffix}
 %else
-%global hipblas_name hipblas%{pkg_suffix}
+%global pkg_name %{NAME}
 %endif
 
 %global toolchain rocm
@@ -90,7 +94,7 @@ Version:        %{rocm_version}
 %if %{with preview}
 Release:        0%{?dist}
 %else
-Release:        4%{?dist}
+Release:        5%{?dist}
 %endif
 Summary:        ROCm BLAS marshaling library
 License:        MIT AND 0BSD
@@ -142,18 +146,18 @@ the client to change, regardless of the chosen backend. Currently,
 hipBLAS supports rocBLAS and cuBLAS as backends.
 
 %if 0%{?suse_version}
-%package -n %{hipblas_name}
+%package -n %{pkg_name}
 Summary:        Shared libraries for %{name}
 
-%description -n %{hipblas_name}
+%description -n %{pkg_name}
 %{summary}
 
-%ldconfig_scriptlets -n %{hipblas_name}
+%ldconfig_scriptlets -n %{pkg_name}
 %endif
 
 %package devel
 Summary:        Libraries and headers for %{name}
-Requires:       %{hipblas_name}%{?_isa} = %{version}-%{release}
+Requires:       %{pkg_name}%{?_isa} = %{version}-%{release}
 Requires:       hipblas-common%{pkg_suffix}-devel
 
 %description devel
@@ -201,17 +205,17 @@ sed -i -e 's@find_package(Git REQUIRED)@#find_package(Git REQUIRED)@' library/CM
 
 %install
 %cmake_install
-
+# Extra license
 rm -f %{buildroot}%{pkg_prefix}/share/doc/hipblas/LICENSE.md
 
-%files  -n %{hipblas_name}
+%files  -n %{pkg_name}
 %license LICENSE.md
 %doc README.md
-%{pkg_prefix}/%{pkg_libdir}/libhipblas.so.3{,.*}
+%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}.so.%{pkg_library_version}{,.*}
 
 %files devel
 %{pkg_prefix}/include/hipblas/
-%{pkg_prefix}/%{pkg_libdir}/libhipblas.so
+%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}.so
 %{pkg_prefix}/%{pkg_libdir}/cmake/hipblas/
 
 %if %{with test}
@@ -220,6 +224,9 @@ rm -f %{buildroot}%{pkg_prefix}/share/doc/hipblas/LICENSE.md
 %endif
 
 %changelog
+* Mon Apr 20 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-5
+- Generate suse package name
+
 * Sat Mar 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-4
 - Change --with gitcommit to preview
 

                 reply	other threads:[~2026-06-13 22:12 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=178138874138.1.8659219939181827233.rpms-hipblas-2a03d65a86c1@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