%lang macro does not work with %doc?

Paul Howarth paul at city-fan.org
Thu Aug 3 08:12:19 UTC 2006


On Wed, 2006-08-02 at 21:15 +0200, Dawid Gajownik wrote:
> Hi!
> 
> I wanted to help reviewing libgadu (#200348). In this package 
> documentation is written in Polish. It's not a problem for me and other 
> folks from Poland but others will find it useless ;-)
> 
> I put this into /root/.rpmmacros
> 
> %_install_langs en:en_US:C
> 
> and changed libgadu.spec to include this lines
> 
> %doc lib/COPYING
> %lang(pl) %doc docs/{README,TODO} ChangeLog
> 
> Unfortunately, it does not work - files README, TODO and ChangeLog 
> should not be installed but they are. Have I missed something?

I don't know but did you try it with %doc and %lang the other way
around?

%doc %lang(pl) docs/{README,TODO} ChangeLog

Paul.




More information about the fedora-extras-list mailing list