Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing two Bugs #24

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions install-spotify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ RPM_SPEC_DIR="/usr/src/packages/SPECS"

# Name of file residing within official Spotify repository above
RPM_NAME="spotify-client"
VERSION="0.8.8.323.gd143501.250-1"
BASENAME="${RPM_NAME}_$VERSION"
VERSION="0.9.4.183.g644e24e.428"
RELEASE="1"
BASENAME="${RPM_NAME}_$VERSION-$RELEASE"

ISSUE_TRACKER_URL="https://github.com/aspiers/opensuse-spotify-installer/issues"

Expand Down Expand Up @@ -215,8 +216,8 @@ build_rpm () {
sleep 3
safe_run rpmbuild -ba "$RPM_SPEC_DIR/${RPM_NAME}.spec"

rpm="$RPM_DIR/${RPM_NAME}-${VERSION}.$rpmarch.rpm"

rpm="$RPM_DIR/${RPM_NAME}-${VERSION}-${RELEASE}.$rpmarch.rpm"
if ! [ -e "$rpm" ]; then
fatal "
rpmbuild failed :-( Please consider filing a bug at:
Expand Down
7 changes: 5 additions & 2 deletions spotify-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# published by the Open Source Initiative.

Name: spotify-client
Version: 0.8.8.323.gd143501.250
Version: 0.9.4.183.g644e24e.428
Release: 1
License: Commercial
Summary: Desktop client for Spotify streaming music service
Expand Down Expand Up @@ -113,7 +113,7 @@ EOF

# fix libraries
mkdir -p %{buildroot}%{spotifylibdir}
ln -sf ../libcef.so %{buildroot}%{spotifylibdir}/libcef.so
ln -sf ../Data/libcef.so %{buildroot}%{spotifylibdir}/libcef.so

# install binary wrapper
mkdir -p %{buildroot}%{_bindir}
Expand Down Expand Up @@ -182,6 +182,9 @@ fi
#%{_datadir}/applications/spotify.desktop

%changelog
* Thu Jul 18 2013 Stefan Botter <[email protected]>
- update to 0.9.1, fix PM-78

* Sat Jan 05 2013 Adam Spiers <[email protected]>
- add README

Expand Down
19 changes: 11 additions & 8 deletions spotify-installer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#

Name: spotify-installer
Version: 0.8.8.323.gd143501.250
Release: 2
Version: 0.9.4.183.g644e24e.428
Release: 1.2
License: MIT
Summary: Installer for Spotify desktop client
Url: https://github.com/aspiers/opensuse-spotify-installer/
Expand Down Expand Up @@ -51,9 +51,12 @@ install -D -m 755 README.html %{buildroot}%{_docdir}/%{name}
%doc README.html

%changelog
* Sat Jan 05 2013 Adam Spiers <[email protected]> - 0.8.8.323.gd143501.250-2
- update README
- add Requires: sudo

* Sat Jan 05 2013 Adam Spiers <[email protected]> - 0.8.8.323.gd143501.250-1
- first version
* Thu Oct 10 2013 [email protected]
- 0.9.1.55.gbdd3b79.203
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a good reason for changing the placement of the version string?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I adapted those changements from the most recent adaption of your script in the pacman repository. But now that I look at it, it doesn't even make any good sense. So those changements are not from me and I don't seee any good reason for it. I simply took the source from th pacman repo and fixed the bugs in install-spotify.sh and spotify-client.spec . And yes, it is a good idea to accept it as a short-term fix, because spotify is a popular programm and people will get driven away from opensuse if there is an installer-script in the internet which doesn't work with the newest version of the distribution.
Thanks and have a nice day!

* Sat Jan 5 2013 Adam Spiers <[email protected]>
- 0.8.8.323.gd143501.250-2
* update README
* add Requires: sudo
* Sat Jan 5 2013 Adam Spiers <[email protected]>
- 0.8.8.323.gd143501.250-1
* first version