public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/adwaita-fonts] rawhide: Switch to gnome-srpm-macros macros
Date: Wed, 01 Jul 2026 06:08:44 GMT	[thread overview]
Message-ID: <178288612476.1.5257378139854236485.rpms-adwaita-fonts-519a53debe27@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/adwaita-fonts
            Branch : rawhide
            Commit : 519a53debe27858d1297ac06eee024a72a0dfef5
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T08:07:06+02:00
            Stats  : +8/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/adwaita-fonts/c/519a53debe27858d1297ac06eee024a72a0dfef5?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/adwaita-fonts.spec b/adwaita-fonts.spec
index f7873df..fb6481d 100644
--- a/adwaita-fonts.spec
+++ b/adwaita-fonts.spec
@@ -1,13 +1,18 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 BuildArch:      noarch
 BuildRequires:  meson
 BuildRequires:  fonts-rpm-macros
 
+Name:    adwaita-fonts
+Summary: Adwaita fonts
 Version: 50.0
 Release: %autorelease
 License: OFL-1.1
 URL:     https://gitlab.gnome.org/GNOME/adwaita-fonts.git
+Source0: https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+Source1: 59-adwaita-sans-fonts.conf
+Source2: 59-adwaita-mono-fonts.conf
+
+%gnome_check_version
 
 %global foundry         adwaita-fonts
 %global fontdocs        README.md
@@ -38,12 +43,6 @@ Adwaita Mono is a customized version of the Iosevka font, designed to match Inte
 }
 
 
-Source0:    https://download.gnome.org/sources/adwaita-fonts/50/adwaita-fonts-%{tarball_version}.tar.xz
-Source1:    59-adwaita-sans-fonts.conf
-Source2:    59-adwaita-mono-fonts.conf
-
-Name:       adwaita-fonts
-Summary:    Adwaita fonts
 %description
 %wordwrap -v common_description
 
@@ -51,7 +50,7 @@ Summary:    Adwaita fonts
 %fontmetapkg
 
 %prep
-%autosetup -n %{name}-%{tarball_version}
+%autosetup -n %{name}-%{gnome_tarball_version}
 
 %build
 %fontbuild -a

                 reply	other threads:[~2026-07-01  6:08 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=178288612476.1.5257378139854236485.rpms-adwaita-fonts-519a53debe27@fedoraproject.org \
    --to=mcrha@redhat.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