Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=871216

--- Comment #37 from Gustav Gonzalez <[email protected]> ---
Ok, after a lot of tries I have discovered why I got these messages:

warning: File listed twice: /usr/share/tupi/data/translations/tupi_ca.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_cs.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_da.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_de.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_es.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_gl.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_it.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_pt.qm
warning: File listed twice: /usr/share/tupi/data/translations/tupi_ru.qm

If I comment these lines in the SPEC file: 

%find_lang %{name} --with-qt
%files -f %{name}.lang

Then I can use a very short %files section with NO warnings:

%{_libdir}/%{name}
%{_bindir}/%{name}
%{_bindir}/%{name}.bin
%{_datadir}/applications/tupi.desktop
%{_datadir}/man/man1/*.1*
%{_datadir}/mime/packages/tupi.xml
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}

Of course, the "lang" lines are needed, so, what should I do in this case?

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=apNzzgx7S3&a=cc_unsubscribe
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to