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 a73518a..9b17ca7 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 @@ -7,11 +7,9 @@ Summary: Extension for visualizing supergfxctl settings and status. License: MIT URL: https://extensions.gnome.org/extension/5344/supergfxctl-gex -Source0: https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v33.shell-extension.zip +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 @@ -21,9 +19,7 @@ Requires: supergfxctl Extension for visualizing supergfxctl settings and status. %prep -wget -q https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v33.shell-extension.zip -O %{name}.zip -unzip %{name}.zip -rm -f %{name}.zip +unzip %{SOURCE0} %install mkdir -p %{buildroot}%{extdir}/