public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/umr] rawhide: Update to snapshot
@ 2026-12-01 21:56 Jeremy Newton
  0 siblings, 0 replies; only message in thread
From: Jeremy Newton @ 2026-12-01 21:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/umr
            Branch : rawhide
            Commit : 92badaf21fb8768d8c50668e9418dc81f30fc42d
            Author : Jeremy Newton <alexjnewt@hotmail.com>
            Date   : 2026-12-01T16:54:58-05:00
            Stats  : +12/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/umr/c/92badaf21fb8768d8c50668e9418dc81f30fc42d?branch=rawhide

            Log:
            Update to snapshot

Upstream advised I use a snapshot when tagging is less frequent

Signed-off-by: Jeremy Newton <alexjnewt@hotmail.com>

---
diff --git a/.gitignore b/.gitignore
index f5f50f7..687746f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /umr-1.0.9.tar.gz
 /umr-1.0.10.tar.gz
 /umr-1.0.11.tar.gz
+/umr-f81fd5663dc44d18760dba7f7c1352b9732cd13f.tar.gz

diff --git a/sources b/sources
index 7544c5c..152244f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (umr-1.0.11.tar.gz) = e3102d241f59cad2a91ad2a8e1fa3fd373c638f1c45a48ced2e33611bac2d4ed2a93a221d41d239d4021869cea655cd3f2449fd607cdfb7834d1a0da26dc245f
+SHA512 (umr-f81fd5663dc44d18760dba7f7c1352b9732cd13f.tar.gz) = 56e695c3e23658c15be8cb85275c2eac468af68ef403102f1e1dd001123e8368d84f79266e566a8e09da3890e753b363c1eb69db63b9ca3d0b2a1d54cb2da68d

diff --git a/umr.spec b/umr.spec
index 4897d01..b81a3c9 100644
--- a/umr.spec
+++ b/umr.spec
@@ -1,13 +1,17 @@
 # UMR is designed to be a static lib
 %undefine _cmake_shared_libs
 
+%global commit f81fd5663dc44d18760dba7f7c1352b9732cd13f
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20261201
+
 Summary: AMDGPU Userspace Register Debugger
 Name: umr
-Version: 1.0.11
+Version: 1.0.11^%{gitdate}.%{shortcommit}
 Release: %autorelease
 License: MIT
 URL: https://gitlab.freedesktop.org/tomstdenis/umr
-Source0: https://gitlab.freedesktop.org/tomstdenis/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz
+Source0: %{url}/-/archive/%{commit}/umr-%{commit}.tar.gz
 
 #Glibc is too old prior to EL7, enable rt linking to avoid compilation failure
 %if 0%{?rhel} && 0%{?rhel} < 7
@@ -46,7 +50,10 @@ AMDGPU Userspace Register Debugger (UMR) is a tool to read and display, as well
 as write to AMDGPU device MMIO, PCIE, SMC, and DIDT registers via userspace.
 
 %prep
-%autosetup -p1 -n %{name}-%{version}
+%autosetup -p1 -n %{name}-%{commit}
+# Fixes for diag script
+sed -i '1i\#!/bin/bash' scripts/diag/umr_diag_functions.sh
+chmod a+x scripts/diag/umr_diag_functions.sh
 
 %build
 %{!?cmake:%global cmake %%cmake3}

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

only message in thread, other threads:[~2026-12-01 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:56 [rpms/umr] rawhide: Update to snapshot Jeremy Newton

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