From: Christoph W. <chr...@go...> - 2009-12-22 14:08:38
|
Am Dienstag, den 22.12.2009, 10:20 +0100 schrieb Sercik: > I'm trying to compile lxde-common and i obtainb the following error: > > + desktop-file-install --remove-key=Encoding > --dir=/var/tmp/lxde-common-0.5.0-1. > RHL5-root-root/usr/share/applications lxde-logout.desktop > Must specify the vendor namespace for these files with --vendor > > I already tried to modify the spec file adding --vendor="redhat" but > doesn't work > > What i need to add exactly?? how can i solve this problem? > Thank you! It looks like you are recompiling one of my Fedora packages on a system whit older desktop-file-utils (such as RHEL or CentOS). You need to add a vendor and if you add it to desktop-file-install you also need to add the vendor a prefix in the %files section, e. .g desktop-file-install \ --vendor="redhat" \ --dir=%{buildroot}%{_datadir}/applications \ lxde-logout.desktop desktop-file-install \ --vendor="redhat" \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE1} ... %files .... %{_datadir}/applications/redhat-lxde-*.desktop ^^^^^^ It might be easier to just remove calling desktop-file-install. We usually only do this to validate the files but it's not stricktly needed. Regards, Christoph |