From e3565968a4ab7f377f4b11a8df7ae61c9a987df8 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Wed, 18 Oct 2023 18:07:30 +0300 Subject: [PATCH] build: Use forge macros --- gnome-shell-extension-appindicator.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnome-shell-extension-appindicator.spec b/gnome-shell-extension-appindicator.spec index a4621fd..c3d2de2 100644 --- a/gnome-shell-extension-appindicator.spec +++ b/gnome-shell-extension-appindicator.spec @@ -1,14 +1,17 @@ +%global forgeurl https://github.com/ubuntu/%{name} +%global tag v%{version} %global uuid appindicatorsupport@rgcjonas.gmail.com Name: gnome-shell-extension-appindicator Version: 57 +%forgemeta Release: %autorelease Summary: AppIndicator/KStatusNotifierItem support for GNOME Shell BuildArch: noarch License: GPL-2.0-only -URL: https://github.com/ubuntu/gnome-shell-extension-appindicator -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +URL: %{forgeurl} +Source0: %{forgesource} BuildRequires: gettext BuildRequires: glib2 @@ -34,7 +37,7 @@ You can use gnome-tweaks (additional package) or run in terminal: %prep -%autosetup -p1 +%forgeautosetup -p1 %build