Re: find-lang.sh syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le lundi 30 octobre 2006 à 19:10 +0100, Michael Schwendt a écrit :
> On Mon, 30 Oct 2006 18:39:15 +0100, Tanguy Eric wrote:
> 
> > Le lundi 30 octobre 2006 à 19:27 +0200, Ville Skyttä a écrit :
> > > On Mon, 2006-10-30 at 18:12 +0100, Tanguy Eric wrote:
> > > 
> > > > + /usr/lib/rpm/redhat/find-lang.sh /var/tmp/ruby-gettext-1.0.0-2.rcn.FC6-root ruby-gettext --all-name
> > >                  ^^^^^^
> > > [...]
> > > > it seems that --all-name is an unrecognized option
> > > 
> > > Yep, it's only in /usr/lib/rpm/find-lang.sh,
> > > not /usr/lib/rpm/redhat/find-lang.sh.  Looks like the version in
> > > redhat-rpm-config lags behind the one in rpm-build - would you mind
> > > filing a bug against redhat-rpm-config about it?
> > > 
> > Yes it's done
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=213041  but how to
> > solve this to achieve to build my package locally ? I have to wait this
> > bug will be corrected ?
> 
> It's likely a duplicate bug report, since I remember I've hit this
> before. In wesnoth.spec it still says:
> 
> | %find_lang %{name}.\*
> | #/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT %name --all-name
> | ...
> | %files -f %{name}.\*.lang
> 
> The --all-name line is commented out. 
> 
> Depending on what kind of names you want to include, let me point out that
> instead of %{name} you can use a regular expression. The .lang filename
> becomes the same than the regular expression, so that is ugly (and
> dangerous due to * wildcards) but works.
> 
> 

My problem is i try to rebuild ruby-gettext package because it's still
not in extras. The package name is ruby-gettext but the locales are :
%{_datadir}/locale/*/LC_MESSAGES/rgettext.mo
%{_datadir}/locale/*/LC_MESSAGES/rmsgfmt.mo

so i'm not sure to understand how to manage this as i have also : 
%files -f %{name}.lang

what do you think of this ?

Eric


-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux