[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: find-lang.sh syntax
- From: Tanguy Eric <eric tanguy univ-nantes fr>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: find-lang.sh syntax
- Date: Mon, 30 Oct 2006 20:16:55 +0100
Le lundi 30 octobre 2006 à 20:04 +0100, Michael Schwendt a écrit :
> On Mon, 30 Oct 2006 19:21:02 +0100, Tanguy Eric wrote:
>
>
> > > | %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 ?
>
> %find r.\*
>
> %files -f r.\*.lang
>
> should work, although it's admittedly ugly.
>
In fact, i mv /usr/lib/rpm/redhat/find-lang.sh
to /usr/lib/rpm/redhat/find-lang.sh.old and make ln
-s /usr/lib/rpm/redhat/find-lang.sh /usr/lib/rpm/redhat/find-lang.sh and
it works fine using --all-name option!
thanks
Eric
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]