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

Signed-off-by: RJ Sampson <[email protected]>
  • Loading branch information
EyeCantCU committed Nov 25, 2024
1 parent 4bdc6df commit 1ca12f8
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}/
Expand Down

0 comments on commit 1ca12f8

Please sign in to comment.