public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/shotwell] rawhide: Switch to gnome-srpm-macros macros
Date: Fri, 03 Jul 2026 08:47:58 GMT	[thread overview]
Message-ID: <178306847879.1.4750618660598490127.rpms-shotwell-ba1cd3d0d264@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-03  8:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178306847879.1.4750618660598490127.rpms-shotwell-ba1cd3d0d264@fedoraproject.org \
    --to=mcrha@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox