public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qalculate-gtk] rawhide: qalculate-gtk.spec: use forge source macros
@ 2026-06-20 22:39 Matthew Krupcale
  0 siblings, 0 replies; only message in thread
From: Matthew Krupcale @ 2026-06-20 22:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/qalculate-gtk
            Branch : rawhide
            Commit : 68dafce840ab76573a566f138520a683057ce518
            Author : Matthew Krupcale <mkrupcale@gmail.com>
            Date   : 2026-06-20T18:31:46-04:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/qalculate-gtk/c/68dafce840ab76573a566f138520a683057ce518?branch=rawhide

            Log:
            qalculate-gtk.spec: use forge source macros

Use %forgemeta, %forgesource, and %forgeautosetup macros for setting the Source
and %prep.

 * qalculate-gtk.spec: use forge source macros

[skip changelog]

---
diff --git a/qalculate-gtk.spec b/qalculate-gtk.spec
index f5fa6b6..7244009 100644
--- a/qalculate-gtk.spec
+++ b/qalculate-gtk.spec
@@ -13,8 +13,12 @@ Release:	%autorelease
 #   doc/C/legal.xml
 License:	GPL-2.0-or-later and GFDL-1.1-or-later
 
+%global	forgeurl https://github.com/%{srcnm}/%{name}
+%global	tag v%{version}
+%forgemeta
+
 URL:		https://qalculate.github.io/
-Source0:	https://github.com/%{srcnm}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
+Source0:	%{forgesource}
 
 BuildRequires:	make
 BuildRequires:	gcc-c++
@@ -36,7 +40,7 @@ Features include customizable functions, units, arbitrary precision, plotting.
 This package provides a (GTK+) graphical interface for Qalculate! 
 
 %prep
-%setup -q
+%forgeautosetup -p1
 
 sed -i 's/<i>//' data/qalculate-gtk.appdata.xml.in
 sed -i 's/<\/i>//' data/qalculate-gtk.appdata.xml.in

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20 22:39 [rpms/qalculate-gtk] rawhide: qalculate-gtk.spec: use forge source macros Matthew Krupcale

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