public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/adwaita-icon-theme-legacy] rawhide: Switch to gnome-srpm-macros macros
@ 2026-07-01  6:15 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-01  6:15 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/adwaita-icon-theme-legacy
            Branch : rawhide
            Commit : 02c3b4f3f369362e7e1241e79dfc61c1bce6d051
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T08:13:45+02:00
            Stats  : +6/-5 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/adwaita-icon-theme-legacy/c/02c3b4f3f369362e7e1241e79dfc61c1bce6d051?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index e6fcb0c..606ecae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-/adwaita-icon-theme-legacy-46.2.tar.xz
+/adwaita-icon-theme-legacy-*.tar.xz
+/adwaita-icon-theme-legacy-*-build

diff --git a/adwaita-icon-theme-legacy.spec b/adwaita-icon-theme-legacy.spec
index 01dcd20..612093b 100644
--- a/adwaita-icon-theme-legacy.spec
+++ b/adwaita-icon-theme-legacy.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:           adwaita-icon-theme-legacy
 Version:        46.2
 Release:        %autorelease
@@ -7,7 +5,9 @@ Summary:        Full-color icons for the Adwaita icon theme
 
 License:        LGPL-3.0-only OR CC-BY-SA-3.0
 URL:            https://gitlab.gnome.org/GNOME/adwaita-icon-theme-legacy
-Source0:        https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildArch:      noarch
 
@@ -33,7 +33,7 @@ The %{name}-devel package contains the pkgconfig file for
 developing applications that use %{name}.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson

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

only message in thread, other threads:[~2026-07-01  6:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  6:15 [rpms/adwaita-icon-theme-legacy] rawhide: Switch to gnome-srpm-macros macros Milan Crha

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