public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthew Krupcale <mkrupcale@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qalculate-gtk] rawhide: qalculate-gtk.spec: use forge source macros
Date: Sat, 20 Jun 2026 22:39:02 GMT	[thread overview]
Message-ID: <178199514260.1.13558341269493898144.rpms-qalculate-gtk-68dafce840ab@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-20 22:39 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=178199514260.1.13558341269493898144.rpms-qalculate-gtk-68dafce840ab@fedoraproject.org \
    --to=mkrupcale@gmail.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