Skip to content

Commit

Permalink
chore(supergfxctl-gex): Update spec to use substitutions (#47)
Browse files Browse the repository at this point in the history
Use subs for %{SOURCE0} and %{version} instead of hard coding each
  • Loading branch information
EyeCantCU authored Nov 24, 2024
1 parent 4bdc6df commit 3716d81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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
Expand All @@ -21,7 +21,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
wget -q %{SOURCE0} -O %{name}.zip
unzip %{name}.zip
rm -f %{name}.zip

Expand Down

0 comments on commit 3716d81

Please sign in to comment.