SPECS: kdemodule-i18n.spec - added missing dirs

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Wed Oct 27 10:06:58 CEST 2004


Jakub Bogusz wrote:
> 
> On Tue, Oct 26, 2004 at 11:12:05PM +0000, ankry wrote:
> > Author: ankry                        Date: Tue Oct 26 23:12:05 2004 GMT
> > Module: SPECS                         Tag: HEAD
> > ---- Log message:
> > - added missing dirs
> > 
> > ---- Files affected:
> > SPECS:
> >    kdemodule-i18n.spec (1.43 -> 1.44) 
> > 
> > ---- Diffs:
> > 
> > ================================================================
> > Index: SPECS/kdemodule-i18n.spec
> > diff -u SPECS/kdemodule-i18n.spec:1.43 SPECS/kdemodule-i18n.spec:1.44
> > --- SPECS/kdemodule-i18n.spec:1.43	Fri Oct 22 11:45:01 2004
> > +++ SPECS/kdemodule-i18n.spec	Tue Oct 26 23:11:58 2004
> > @@ -3814,6 +3814,11 @@
> >  	%find_lang $i --with-kde
> >  	cat $i.lang >> kdelibs.lang
> >  done
> > +for i in %{_defaultdocdir}/kde/HTML/*; do
> > +	if ! grep -q '/en$' $(echo $i); then
> > +		echo %dir $i >> kdelibs.lang
> > +	fi
> > +done
> 
> %lang ?
> Without it kdelibs would install empty dirs for not installed language
> resources.

BTW: they are in %{_defaultdocdir}, so they are %doc.
Do %doc & %lang work together already ?

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry at mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology




More information about the pld-devel-en mailing list