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

            A new commit has been pushed.

            Repo   : rpms/gjs
            Branch : rawhide
            Commit : 0708068acb33143ffd803903ac7828f43d9a5fa6
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-06-29T10:39:57+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gjs/c/0708068acb33143ffd803903ac7828f43d9a5fa6?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/gjs.spec b/gjs.spec
index 8cfa8d7..bb3f71b 100644
--- a/gjs.spec
+++ b/gjs.spec
@@ -2,8 +2,6 @@
 %global gobject_introspection_version 1.72.0
 %global mozjs140_version 140.1.0
 
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:           gjs
 Version:        1.88.0
 Release:        %autorelease
@@ -17,7 +15,7 @@ Summary:        Javascript Bindings for GNOME
 # modules/script/tweener/equations.js is BSD-3-Clause
 License:        MIT AND BSD-3-Clause AND (MIT OR LGPL-2.0-or-later) AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later)
 URL:            https://wiki.gnome.org/Projects/Gjs
-Source0:        https://download.gnome.org/sources/%{name}/%{major_minor_version}/%{name}-%{version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{version}.tar.xz
 
 BuildRequires:  gcc-c++
 BuildRequires:  meson

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

only message in thread, other threads:[~2026-06-29  8:45 UTC | newest]

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