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/loupe] rawhide: Switch to gnome-srpm-macros macros
Date: Mon, 29 Jun 2026 16:59:06 GMT [thread overview]
Message-ID: <178275234604.1.5606127931222848654.rpms-loupe-25bdd51c83e2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/loupe
Branch : rawhide
Commit : 25bdd51c83e2cfd42d46b4ec31ec73c5f769219c
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-06-29T18:43:58+02:00
Stats : +9/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/loupe/c/25bdd51c83e2cfd42d46b4ec31ec73c5f769219c?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/loupe.spec b/loupe.spec
index bdfdb45..eef542b 100644
--- a/loupe.spec
+++ b/loupe.spec
@@ -2,8 +2,6 @@
%bcond bundled_rust_deps %{defined rhel}
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
Name: loupe
Version: 50.0
Release: %autorelease
@@ -42,14 +40,16 @@ License: %{shrink:
}
# LICENSE.dependencies contains a full license breakdown
URL: https://gitlab.gnome.org/GNOME/loupe
-Source0: https://download.gnome.org/sources/loupe/50/loupe-%{tarball_version}.tar.xz
+Source0: https://download.gnome.org/sources/loupe/%{gnome_major_version}/loupe-%{gnome_tarball_version}.tar.xz
# To create the vendor tarball:
-# tar Jxvf loupe-%%{tarball_version}.tar.xz ; \
-# pushd loupe-%%{tarball_version} ; \
+# tar Jxvf loupe-%%{gnome_tarball_version}.tar.xz ; \
+# pushd loupe-%%{gnome_tarball_version} ; \
# cargo vendor --versioned-dirs ; \
-# tar Jcvf ../loupe-%%{tarball_version}-vendor.tar.xz vendor/ ; \
+# tar Jcvf ../loupe-%%{gnome_tarball_version}-vendor.tar.xz vendor/ ; \
# popd
-Source1: loupe-%{tarball_version}-vendor.tar.xz
+Source1: loupe-%{gnome_tarball_version}-vendor.tar.xz
+
+%gnome_check_version
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@@ -94,10 +94,10 @@ Features:
%prep
%if %{with bundled_rust_deps}
-%autosetup -n loupe-%{tarball_version} -p1 -a1
+%autosetup -n loupe-%{gnome_tarball_version} -p1 -a1
%cargo_prep -v vendor
%else
-%autosetup -n loupe-%{tarball_version} -p1
+%autosetup -n loupe-%{gnome_tarball_version} -p1
%cargo_prep
sed -i -e '/Cargo.lock/d' meson.build
%endif
reply other threads:[~2026-06-29 16:59 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=178275234604.1.5606127931222848654.rpms-loupe-25bdd51c83e2@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