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

            A new commit has been pushed.

            Repo   : rpms/shotwell
            Branch : rawhide
            Commit : ba1cd3d0d264a2fbba64386cf3f72dfc336e0c02
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-03T10:46:32+02:00
            Stats  : +6/-11 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/shotwell/c/ba1cd3d0d264a2fbba64386cf3f72dfc336e0c02?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 3a9dc36..9eec18b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,2 @@
-/shotwell-0.32.9.tar.xz
-/shotwell-0.32.10.tar.xz
-/shotwell-0.32.13.tar.xz
-/shotwell-0.32.14.tar.xz
-/shotwell-33.alpha.tar.xz
-/shotwell-33.alpha.2.tar.xz
-/shotwell-33.beta.tar.xz
+/shotwell-*.tar.xz
+/shotwell-*-build

diff --git a/shotwell.spec b/shotwell.spec
index d3efa13..dd6fbae 100644
--- a/shotwell.spec
+++ b/shotwell.spec
@@ -6,13 +6,13 @@ Version:        33~beta
 Release:        %autorelease
 Summary:        A photo organizer for the GNOME desktop
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 # LGPLv2+ for the code
 # CC-BY-SA for some of the icons
 License:        LGPL-2.1-or-later AND CC-BY-SA-3.0
 URL:            https://wiki.gnome.org/Apps/Shotwell
-Source0:        https://download.gnome.org/sources/shotwell/%{tarball_version}/shotwell-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_tarball_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:  cmake
 BuildRequires:  vala
@@ -77,7 +77,7 @@ making it easy to experiment and correct errors.
 
 
 %prep
-%autosetup -n shotwell-%{tarball_version} -p1
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 
 %build

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

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

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