|
From: | Matej Cepl |
Subject: | Re: PSPP building |
Date: | Sat, 20 Aug 2011 13:04:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
Dne 20.8.2011 00:48, Ben Pfaff napsal(a):
But I can not compile for openSUSE: WARNING: file extension in Icon line: /usr/src/packages/BUILDROOT/pspp-0.7.8-26.1.x86_64//usr/share/applications/pspp.desktop ERROR: Icon file not installed: /usr/src/packages/BUILDROOT/pspp-0.7.8-26.1.x86_64//usr/share/applications/pspp.desktop (psppicon.png)I don't know anything about .desktop files. Do you? Can you supply a fixed version?
And of course I forgot to add: this is not a bug in the .desktop file (all my suggested changes were mostly cosmetic), but the rpmbuild objects that it cannot find the icon file in the location it was supposed to be.
Hint: $RPM_BUILD_ROOT% already ends with slash, so in %install you should have
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop and not $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop which is what I think you have. Best, Matěj
[Prev in Thread] | Current Thread | [Next in Thread] |