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

            A new commit has been pushed.

            Repo   : rpms/zenity
            Branch : rawhide
            Commit : 66b4af5fddcad4cee1076c55dbf1ffedd065cb36
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-03T11:29:16+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/zenity/c/66b4af5fddcad4cee1076c55dbf1ffedd065cb36?branch=rawhide

            Log:
            Use a gnome-srpm-macros macro

[skip changelog]

---
diff --git a/zenity.spec b/zenity.spec
index df0bb8c..f64bb36 100644
--- a/zenity.spec
+++ b/zenity.spec
@@ -1,5 +1,3 @@
-%global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
-
 Name:          zenity
 Version:       4.2.2
 Release:       %autorelease
@@ -7,7 +5,7 @@ Summary:       Display dialog boxes from shell scripts
 
 License:       LGPL-2.1-or-later
 URL:           https://wiki.gnome.org/Projects/Zenity
-Source:        https://download.gnome.org/sources/%{name}/%{major_minor_version}/%{name}-%{version}.tar.xz
+Source:        https://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{version}.tar.xz
 
 BuildRequires: pkgconfig(libadwaita-1) >= 1.2
 BuildRequires: /usr/bin/help2man

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

only message in thread, other threads:[~2026-07-03  9:30 UTC | newest]

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