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/gnome-shell-extensions] rawhide: Switch to gnome-srpm-macros macros
Date: Tue, 30 Jun 2026 09:00:26 GMT [thread overview]
Message-ID: <178281002620.1.6058200082518199161.rpms-gnome-shell-extensions-98aa1195a761@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gnome-shell-extensions
Branch : rawhide
Commit : 98aa1195a76167a77709b71f14fe1b8922ee49ff
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-06-30T09:26:03+02:00
Stats : +6/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-shell-extensions/c/98aa1195a76167a77709b71f14fe1b8922ee49ff?branch=rawhide
Log:
Switch to gnome-srpm-macros macros
[skip changelog]
---
diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec
index 2c97935..8d34d30 100644
--- a/gnome-shell-extensions.spec
+++ b/gnome-shell-extensions.spec
@@ -1,9 +1,4 @@
-# Minimum GNOME Shell version supported
-%global min_gs_version %%(cut -d "." -f 1 <<<%{version})
-
%global pkg_prefix gnome-shell-extension
-%global tarball_version %%(echo %%{version} | tr '~' '.')
-%global major_version %%(echo %%{tarball_version} | cut -d "." -f 1)
%if 0%{?fedora} && 0%{?fedora} < 43
%bcond x11 1
@@ -18,14 +13,16 @@ Summary: Modify and extend GNOME Shell functionality and behavior
License: GPL-2.0-or-later
URL: http://wiki.gnome.org/Projects/GnomeShell/Extensions
-Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/%{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: git-core
BuildRequires: gettext >= 0.19.6
BuildRequires: glib2%{?_isa}
BuildRequires: pkgconfig(systemd)
-Requires: gnome-shell >= %{min_gs_version}
+Requires: gnome-shell >= %{gnome_major_version}
BuildArch: noarch
%description
@@ -52,7 +49,7 @@ Enabled extensions:
%package -n %{pkg_prefix}-common
Summary: Files common to GNOME Shell Extensions
License: GPL-2.0-or-later
-Requires: gnome-shell >= %{min_gs_version}
+Requires: gnome-shell >= %{gnome_major_version}
Obsoletes: %{pkg_prefix}-horizontal-workspaces < 40.0~alpha.1-3
%description -n %{pkg_prefix}-common
@@ -231,10 +228,7 @@ workspaces.
%prep
-# check for human errors
-if [ `echo "%{version}" | grep -cE "\.alpha|\.beta|\.rc"` = "1" ]; then echo "Error: Use tilde in Version field in front of alpha/beta/rc; checked '%{version}'" 1>&2; exit 1; fi
-
-%autosetup -S git -n %{name}-%{tarball_version}
+%autosetup -S git -n %{name}-%{gnome_tarball_version}
%build
reply other threads:[~2026-06-30 9:00 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=178281002620.1.6058200082518199161.rpms-gnome-shell-extensions-98aa1195a761@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