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

--- Comment #34 from Kevin Kofler <[email protected]> ---
> But now I got these warnings when I build the RPM file:
>
> 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

That's because those files are already listed in tupi.lang (found by
%find_lang) (and that's how it should be).

> Use:
>
> %exclude %{_datadir}/%{name}/data/translations

No, that won't work as expected, because we actually want those files packaged.
You cannot use %exclude in this case.

You will have to use a more detailed file list.

-- 
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=hcTxQ7dTm7&a=cc_unsubscribe
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to