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

            A new commit has been pushed.

            Repo   : rpms/gnome-builder
            Branch : rawhide
            Commit : d8a50c0c785802e7e9f1bc898618c440a8a74630
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T09:58:48+02:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-builder/c/d8a50c0c785802e7e9f1bc898618c440a8a74630?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/gnome-builder.spec b/gnome-builder.spec
index a19f9c9..a1155c7 100644
--- a/gnome-builder.spec
+++ b/gnome-builder.spec
@@ -3,8 +3,6 @@
 %global privlibs .*-private|libide|libgnome-builder-plugins
 %global __requires_exclude ^(%{privlibs}).*\\.so.*
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 %global glib2_version 2.75.0
 %global gtk4_version 4.15.5
 %global json_glib_version 1.2.0
@@ -39,7 +37,9 @@ Summary:        IDE for writing GNOME-based software
 #     - data/html-preview.png
 License:        GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND MIT AND CC0-1.0 AND CC-BY-3.0
 URL:            https://wiki.gnome.org/Apps/Builder
-Source0:        https://download.gnome.org/sources/%{name}/50/%{name}-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:  clang-devel
 BuildRequires:  ctags
@@ -110,7 +110,7 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 %build
 %meson -Dhelp=true

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  8:00 [rpms/gnome-builder] 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