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

            A new commit has been pushed.

            Repo   : rpms/file-roller
            Branch : rawhide
            Commit : 3477a045d31d6447fa2fb6d9bb50a683dcafebb0
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-01T09:14:59+02:00
            Stats  : +5/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/file-roller/c/3477a045d31d6447fa2fb6d9bb50a683dcafebb0?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index fc2f733..563b54b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /file-roller-*.tar.bz2
 /file-roller-*.tar.xz
+/file-roller-*-build

diff --git a/file-roller.spec b/file-roller.spec
index e064081..1eacd02 100644
--- a/file-roller.spec
+++ b/file-roller.spec
@@ -1,5 +1,3 @@
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:           file-roller
 Version:        44.7
 Release:        %autorelease
@@ -7,7 +5,9 @@ Summary:        Tool for viewing and creating archives
 
 License:        GPL-2.0-or-later
 URL:            https://wiki.gnome.org/Apps/FileRoller
-Source0:        https://download.gnome.org/sources/%{name}/44/%{name}-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:  meson
 BuildRequires:  gcc
@@ -47,7 +47,7 @@ or directories.
 %endif
 
 %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-07-01  7:16 UTC | newest]

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