Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- mingw-libosinfo.spec.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mingw-libosinfo.spec.in b/mingw-libosinfo.spec.in index e99885c..14b4c60 100644 --- a/mingw-libosinfo.spec.in +++ b/mingw-libosinfo.spec.in @@ -89,7 +89,11 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/man rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/gtk-doc rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc -%files -n mingw32-libosinfo +%find_lang osinfo-db-tools +grep "%{mingw32_datadir}" libosinfo.lang > mingw32-libosinfo.lang +grep "%{mingw64_datadir}" libosinfo.lang > mingw64-libosinfo.lang + +%files -n mingw32-libosinfo -f mingw32-libosinfo.lang %doc AUTHORS ChangeLog COPYING.LIB NEWS README %{mingw32_bindir}/osinfo-detect.exe %{mingw32_bindir}/osinfo-install-script.exe @@ -103,9 +107,8 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc %dir %{mingw32_datadir}/libosinfo %{mingw32_datadir}/libosinfo/usb.ids %{mingw32_datadir}/libosinfo/pci.ids -%{mingw32_datadir}/locale/*/LC_MESSAGES/libosinfo.mo -%files -n mingw64-libosinfo +%files -n mingw64-libosinfo -f mingw64-libosinfo.lang %doc AUTHORS ChangeLog COPYING.LIB NEWS README %{mingw64_bindir}/osinfo-detect.exe %{mingw64_bindir}/osinfo-install-script.exe @@ -119,6 +122,5 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc %dir %{mingw64_datadir}/libosinfo %{mingw64_datadir}/libosinfo/usb.ids %{mingw64_datadir}/libosinfo/pci.ids -%{mingw64_datadir}/locale/*/LC_MESSAGES/libosinfo.mo %changelog -- 2.20.1 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo