[Libosinfo] [osinfo-db-tools PATCH 1/4] mingw: Use %find_lang macro

Fabiano Fidêncio fidencio at redhat.com
Tue Mar 5 14:03:27 UTC 2019


On Tue, 2019-03-05 at 14:34 +0100, Christophe Fergeau wrote:
> On Tue, Mar 05, 2019 at 10:42:26AM +0100, Fabiano Fidêncio wrote:
> > Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> > ---
> >  mingw-osinfo-db-tools.spec.in | 10 ++++++----
> >  1 file changed, 6 insertions(+), 4 deletions(-)
> > 
> > diff --git a/mingw-osinfo-db-tools.spec.in b/mingw-osinfo-db-
> > tools.spec.in
> > index 486492f..14e275c 100644
> > --- a/mingw-osinfo-db-tools.spec.in
> > +++ b/mingw-osinfo-db-tools.spec.in
> > @@ -74,22 +74,24 @@ information about operating systems for use
> > with virtualization
> >  rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/man
> >  rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/man
> >  
> > -%files -n mingw32-osinfo-db-tools
> > +%find_lang osinfo-db-tools
> > +grep "%{mingw32_datadir}" osinfo-db-tools.lang > mingw32-osinfo-
> > db-tools.lang
> > +grep "%{mingw64_datadir}" osinfo-db-tools.lang > mingw64-osinfo-
> > db-tools.lang
> 
> Why not %mingw_find_lang ?

Aha, didn't know about that one.
Yesterday, when adding the mingw-osinfo-db-tools package to Fedora, the
suggestion to use %find_lang has been made.

I'll give it a try with %mingw_find_lang then.

[snip]

Best Regards,
-- 
Fabiano Fidêncio




More information about the Libosinfo mailing list