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

            A new commit has been pushed.

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

            Log:
            libqalculate.spec: use forge source macros

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

 * libqalculate.spec: use forge source macros

[skip changelog]

---
diff --git a/libqalculate.spec b/libqalculate.spec
index 9c76931..44afbc7 100644
--- a/libqalculate.spec
+++ b/libqalculate.spec
@@ -14,8 +14,12 @@ Release:	%autorelease
 #   data/planets.xml.in
 License:	GPL-2.0-or-later and LicenseRef-Fedora-Public-Domain 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:	autoconf
 BuildRequires:	automake
@@ -66,7 +70,7 @@ This package provides the text-mode interface for Qalculate! The GTK and QT
 frontends are provided by qalculate-gtk and qalculate-kde packages resp.
 
 %prep
-%setup -q
+%forgeautosetup -p1
 
 %build
 autoreconf -fiv

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

only message in thread, other threads:[~2026-06-20 22:38 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:38 [rpms/libqalculate] rawhide: libqalculate.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