public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gtksourceview5] rawhide: Use a gnome-srpm-macros macro
@ 2026-07-02 14:54 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-07-02 14:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gtksourceview5
            Branch : rawhide
            Commit : e06ddcce1e3bf84622c090fbb10090735cca82ee
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T16:53:11+02:00
            Stats  : +2/-3 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gtksourceview5/c/e06ddcce1e3bf84622c090fbb10090735cca82ee?branch=rawhide

            Log:
            Use a gnome-srpm-macros macro

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 77cbc8d..5aa9c87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /gtksourceview-*.tar.xz
+/gtksourceview-*-build

diff --git a/gtksourceview5.spec b/gtksourceview5.spec
index 80b8fb2..e27b468 100644
--- a/gtksourceview5.spec
+++ b/gtksourceview5.spec
@@ -3,8 +3,6 @@
 
 %global api_ver 5
 
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:           gtksourceview5
 Version:        5.20.0
 Release:        %autorelease
@@ -12,7 +10,7 @@ Summary:        Source code editing widget
 
 License:        LGPL-2.1-or-later
 URL:            https://wiki.gnome.org/Projects/GtkSourceView
-Source0:        https://download.gnome.org/sources/gtksourceview/%{major_minor_version}/gtksourceview-%{version}.tar.xz
+Source0:        https://download.gnome.org/sources/gtksourceview/%{gnome_major_minor_version}/gtksourceview-%{version}.tar.xz
 
 BuildRequires:  gcc
 BuildRequires:  gettext

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

only message in thread, other threads:[~2026-07-02 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 14:54 [rpms/gtksourceview5] rawhide: Use a gnome-srpm-macros macro Milan Crha

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