From d32f0fbb0efacf87cdd63f7e57993a124613ae5f Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Sun, 24 Nov 2024 19:58:03 -0700 Subject: [PATCH] fix(supergfxctl-gex): Remove wget (#48) The archive is already fetched as it's defined a source. This was redundant and error prone, rmeove it Signed-off-by: RJ Sampson --- .../gnome-shell-extension-supergfxctl-gex.spec | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec b/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec index b002788..e0c0821 100644 --- a/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec +++ b/staging/gnome-shell-extension-supergfxctl-gex/gnome-shell-extension-supergfxctl-gex.spec @@ -10,8 +10,6 @@ URL: https://extensions.gnome.org/extension/5344/supergfxctl-gex Source0: https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v%{version}.shell-extension.zip BuildArch: noarch -BuildRequires: wget - Requires: gnome-shell-extension-common Requires: dconf-editor Requires: dconf @@ -20,14 +18,9 @@ Requires: supergfxctl %description Extension for visualizing supergfxctl settings and status. -%prep -wget -q %{SOURCE0} -O %{name}.zip -unzip %{name}.zip -rm -f %{name}.zip - %install -mkdir -p %{buildroot}%{extdir}/ -mv * %{buildroot}%{extdir}/ +mkdir -p %{buildroot}%{extdir} +unzip %{SOURCE0} -d %{buildroot}%{extdir} %files %{extdir}