rpms/nqc/EL-5 .cvsignore, 1.3, 1.4 nqc.spec, 1.7, 1.8 sources, 1.3, 1.4

Michael Schwendt mschwendt at gmail.com
Wed May 20 14:32:06 UTC 2009


On Wed, 20 May 2009 08:11:13 -0600 (MDT), Jr. wrote:

> >> +%files doc-de
> >> +%defattr(-,root,root,-)
> >> +%doc nqc-tutorial-de.doc
> >
> > You could mark these files with %lang, such as %lang(de).
> >
> 
> I googled it and did a search on the Fedora project wiki and didn't find
> any more info on where it goes. Does the %lang directive go anywhere after
> the %files directive like this?
> 
> %files doc-de
> %lang(de)
> %defattr(-,root,root,-)
> %doc nqc-tutorial-de.doc

%doc %lang(de) nqc-tutorial-de.doc
or:
%lang(de) %doc nqc-tutorial-de.doc

> Also, do you know if the %lang two-letter code parameters are just the
> ISO-639 codes?

Yes, ISO 639-1, two letters.




More information about the fedora-devel-list mailing list