fix (spotx-bash): track symlink (#9403) (#9419)

(cherry picked from commit 3b79c2dd16)

Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-01-20 20:25:51 -08:00
committed by GitHub
parent 30bd529a41
commit da6dcbd543
+6 -7
View File
@@ -4,7 +4,7 @@
Name: spotx-bash
Version: %commit_date.git~%shortcommit
Release: 1%?dist
Release: 2%?dist
Summary: Adblock for the Spotify desktop client on Linux.
License: MIT
URL: https://github.com/SpotX-Official/SpotX-Bash
@@ -21,16 +21,15 @@ Provides: spotx spotx-linux spot-x spotx.sh
%install
mkdir -p %{buildroot}%{_bindir}
install -Dm 755 spotx.sh %buildroot%{_bindir}/spotx
%post
%{__ln_s} -f %{_bindir}/spotx %{_bindir}/spotx.sh
install -Dm 755 spotx.sh %{buildroot}%{_bindir}/spotx
%{__ln_s} -f %{_bindir}/spotx %{buildroot}%{_bindir}/spotx.sh
%files
%doc README.md
%license LICENSE
%_bindir/spotx
%{_bindir}/spotx.sh
%{_bindir}/spotx
%changelog
* Sat Dec 14 2024 Its-J
- Package SpotX-Bash
- Package SpotX-Bash