From: Joachim E. <joa...@gm...> - 2007-11-08 22:49:00
|
Hi Neal, I modified the kdiff3.spec file, but I don't understand .spec-files good enough to be sure. I added your lines below the "%files"-section. I've attached the complete file. Could you please verify it? If necessary please send the corrected file back. Best regards, Joachim Am Mittwoch 07 November 2007 19:06:55 schrieb Neal Becker: > Hello. I maintain the kdiff3 package for fedora. It has been suggested > that the kdiff3plugin.desktop install be changed as follows: > > echo "NoDisplay=true" >> \ > $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop > desktop-file-install --vendor="" \ > --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde > --delete-original \ > $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop > > The change I'm suggesting for kdiff3 is the first 2 lines (that is, add the > NoDisplay=true'. The desktop-file-install lines are fedora-specific parts > of the kdiff3.spec file. > > Here is the whole message: > --------------- Forwarded message (begin) > > Subject: Re: desktop file handling question > From: Rex Dieter <rd...@ma...> > Date: Wed, 07 Nov 2007 10:48:28 -0500 > Newsgroup: gmane.linux.redhat.fedora.devel > > [...] > > I'd recommend instead: > desktop-file-install --vendor="" \ > --dir $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden > $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop > > Or (prefered) > echo "NoDisplay=true" >> \ > $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop > desktop-file-install --vendor="" \ > --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde > --delete-original \ > $RPM_BUILD_ROOT%{_datadir}/applnk/.hidden/kdiff3plugin.desktop > > and talk to upstream about making the latter change, so as not to use the > legacy applnk dirs at all. > > -- Rex |