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

            A new commit has been pushed.

            Repo   : rpms/glib-networking
            Branch : rawhide
            Commit : 380d682e338867744f63677326035f387500d560
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-06-29T09:06:07+02:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/glib-networking/c/380d682e338867744f63677326035f387500d560?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/glib-networking.spec b/glib-networking.spec
index 9a77099..3ab3e8c 100644
--- a/glib-networking.spec
+++ b/glib-networking.spec
@@ -1,8 +1,6 @@
 %define glib2_version 2.73.3
 %global libproxy_version 0.4.16
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 # Not yet sure whether to have libproxy in el10, but assume yes for now.
 %global with_libproxy 1
 
@@ -13,7 +11,9 @@ Summary:        Networking support for GLib
 
 License:        LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception
 URL:            https://gitlab.gnome.org/GNOME/glib-networking
-Source0:        https://download.gnome.org/sources/glib-networking/2.80/%{name}-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/glib-networking/%{gnome_major_minor_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:  ca-certificates
 BuildRequires:  gcc
@@ -57,7 +57,7 @@ The glib-networking-tests package contains tests that can be used to verify
 the functionality of the installed glib-networking package.
 
 %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-06-29  7:12 UTC | newest]

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