public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hipblas-common] epel10: Change from --with gitcommit to preview
@ 2026-06-10 20:26 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-10 20:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/hipblas-common
            Branch : epel10
            Commit : b2de7a42ddcfccd13cb0a3b0835f05638e198ba0
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-03-07T07:03:41-08:00
            Stats  : +18/-35 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/hipblas-common/c/b2de7a42ddcfccd13cb0a3b0835f05638e198ba0?branch=epel10

            Log:
            Change from --with gitcommit to preview

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

---
diff --git a/hipblas-common.spec b/hipblas-common.spec
index 42f2f92..5d8adf4 100644
--- a/hipblas-common.spec
+++ b/hipblas-common.spec
@@ -19,17 +19,19 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 #
-
-%bcond_with gitcommit
-%if %{with gitcommit}
-%global commit0 2584e35062ad9c2edb68d93c464cf157bc57e3b0
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date0 20250926
-%endif
-
 %global upstreamname hipblas-common
+
+%bcond_with preview
+%if %{with preview}
+%global rocm_release 7.11
+%global rocm_patch 0
+%global pkg_src therock-%{rocm_release}
+%else
 %global rocm_release 7.2
 %global rocm_patch 0
+%global pkg_src rocm-%{rocm_release}.%{rocm_patch}
+%endif
+
 %global rocm_version %{rocm_release}.%{rocm_patch}
 
 %bcond_with compat
@@ -46,22 +48,17 @@
 %endif
 
 Name:           hipblas-common%{pkg_suffix}
-%if %{with gitcommit}
-Version:        git%{date0}.%{shortcommit0}
-Release:        2%{?dist}
-%else
 Version:        %{rocm_version}
-Release:        1%{?dist}
+%if %{with preview}
+Release:        0%{?dist}
+%else
+Release:        2%{?dist}
 %endif
 Summary:        Common files shared by hipBLAS and hipBLASLt
 License:        MIT
 URL:            https://github.com/ROCm/rocm-libraries
 
-%if %{with gitcommit}
-Source0:        %{url}/archive/%{commit0}/rocm-libraries-%{shortcommit0}.tar.gz
-%else
-Source0:        %{url}/releases/download/rocm-%{version}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
-%endif
+Source0:        %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
 
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -86,18 +83,9 @@ Provides:       %{name}-static = %{version}-%{release}
 %{summary}
 
 %prep
-%if %{with gitcommit}
-%setup -q -n rocm-libraries-%{commit0}
-cd projects/hipblas-common
-%else
 %autosetup -p1 -n %{upstreamname}
-%endif
 
 %build
-%if %{with gitcommit}
-cd projects/hipblas-common
-%endif
-
 %cmake \
     -DCMAKE_INSTALL_LIBDIR=share \
     -DCMAKE_INSTALL_PREFIX=%{pkg_prefix}
@@ -105,25 +93,20 @@ cd projects/hipblas-common
 %cmake_build
 
 %install
-%if %{with gitcommit}
-cd projects/hipblas-common
-%endif
-
 %cmake_install
 
 rm -f %{buildroot}%{pkg_prefix}/share/doc/hipblas-common/LICENSE.md
 
 %files devel
-%if %{with gitcommit}
-%license projects/hipblas-common/LICENSE.md
-%else
 %license LICENSE.md
-%endif
 
 %{pkg_prefix}/include/hipblas-common/
 %{pkg_prefix}/share/cmake/hipblas-common/
 
 %changelog
+* Sat Mar 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-2
+- Change --with gitcommit to preview
+
 * Sat Jan 24 2026 Tom Rix <Tom.Rix@amd.com> - 7.2.0-1
 - Update to 7.2.0
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-10 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 20:26 [rpms/hipblas-common] epel10: Change from --with gitcommit to preview Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox