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

Some changes in filename makes compiling don't work #53

Open
RafaelLinux opened this issue Jul 25, 2020 · 2 comments
Open

Some changes in filename makes compiling don't work #53

RafaelLinux opened this issue Jul 25, 2020 · 2 comments

Comments

@RafaelLinux
Copy link

RafaelLinux commented Jul 25, 2020

In the "Manual way" (dowloading .SPEC and .sh files), there is some issue. Latest client is "spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb". I changed to correct version in both ".SPEC" and ".sh" file, but however it was not sufficient. Previous "deb" filename began with "spotify-client_" and now is "spotify-client-", so with this change at least the script is able to download finally the ".deb" file.

However, compilation doesn't end, cause a new error related to use "-" instead "_" happens:

/home/rafael/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
Skipping download.
About to build spotify-client rpm; please be patient ...
advertencia:Macro expanded in comment on line 183: %{_datadir}/applications/spotify.desktop

Ejecutando(%prep): /bin/sh -e /var/tmp/rpm-tmp.lpFuO4
+ umask 022
+ cd /home/rafael/rpmbuild/BUILD
+ cd /home/rafael/rpmbuild/BUILD
+ rm -rf spotify-client-0.9.17_0.9.17.8.gd06432d.31
+ /usr/bin/mkdir -p spotify-client-0.9.17_0.9.17.8.gd06432d.31
+ cd spotify-client-0.9.17_0.9.17.8.gd06432d.31
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ ar -x /home/rafael/rpmbuild/SOURCES/spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb
+ tar -xzf data.tar.gz
tar (child): data.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
error: Estado de salida erróneo de /var/tmp/rpm-tmp.lpFuO4 (%prep)

Errores de construcción RPM:
Macro expanded in comment on line 183: %{_datadir}/applications/spotify.desktop

Estado de salida erróneo de /var/tmp/rpm-tmp.lpFuO4 (%prep)

but unfortunately I don't know what to change now.

any suggestion?

Thank you

@Wuerstchen
Copy link

As mentioned in #50, this project is without a maintainer. Maybe save yourself some hassle and have a look at this other currently maintained script spotify-easyrpm.

@abruenin
Copy link

abruenin commented Sep 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants