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

            A new commit has been pushed.

            Repo   : rpms/gnome-user-share
            Branch : rawhide
            Commit : a4cced4ce5bf64ae1e38df128ee136cdcd5065b2
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T12:10:53+02:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gnome-user-share/c/a4cced4ce5bf64ae1e38df128ee136cdcd5065b2?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index 6ba1f14..a7931fe 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:           gnome-user-share
 Version:        48.3
 Release:        %autorelease
@@ -16,7 +14,9 @@ License:        GPL-2.0-or-later AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR
 # LICENSE.dependencies contains a full license breakdown
 
 URL:            https://gitlab.gnome.org/GNOME/gnome-user-share
-Source0:        http://download.gnome.org/sources/%{name}/48/%{name}-%{tarball_version}.tar.xz
+Source0:        http://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:  cargo-rpm-macros
 BuildRequires:  clang
@@ -45,7 +45,7 @@ computers on the local network using mDNS/rendezvous, so that it shows
 up in the Network location in GNOME.
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 %cargo_prep
 
 %generate_buildrequires

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

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

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