useing %(__plasma4_path) in %files

Fl at sh Fl at sh
Mon Jul 23 15:51:40 UTC 2012


On Mon, 23 Jul 2012 10:51:20 -0500
Rex Dieter <rdieter at math.unl.edu> wrote:

> ,  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
> 
of course...

-- 
Fl at sh


More information about the kde mailing list