useing %(__plasma4_path) in %files

Rex Dieter rdieter at math.unl.edu
Mon Jul 23 15:51:20 UTC 2012


,  wrote:

> On Mon, 23 Jul 2012 10:27:11 -0500
> Rex Dieter <rdieter at fedoraproject.org> wrote:
> 
>> On 07/23/2012 02:52 AM, Fl at sh wrote:
>> > How to use in spec`s %files the macros
>> > %(__plasma4_path) && %{name}
>> > for %{_datadir}/kde4/services/%{name}.desktop
>> 
>> %_kde4_... style macros are defined in /etc/rpm/macros.kde4 , which is
>> owned by kde-filesystem pkg
>> 
>> Does that answer your question?
>> 
>> -- rex
>> 
> I assumed that the macro should be used to specify the path
> to .desktop file of plasmoids. Apparently I was wrong.

in this case replacing %{_datadir} with %{_kde4_datadir} is pretty much the 
only change to do.

-- rex



More information about the kde mailing list