Bug 609749

Summary: qt translations packaged improperly
Product: [Fedora] Fedora Reporter: Kevin Kofler <kevin>
Component: qtAssignee: Kevin Kofler <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: itamar, jreznik, kevin, ltinkl, rdieter, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qt-4.6.3-8.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-13 07:40:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Kofler 2010-07-01 01:06:52 UTC
Description of problem:
The translations in qt are packaged using %{_qt4_translationdir}/ without any sort of %lang tagging.

Version-Release number of selected component (if applicable):
qt-4.6.2-20.fc12.i686

How reproducible:
Always

Steps to Reproduce:
1. Look at the specfile.
  
Actual results:
%{_qt4_translationdir}/ is listed as is.

Expected results:
Only %dir %{_qt4_translationdir}/ should be listed. Translations should be collected with %find_lang filename --with-qt.

Additional info:
See also bug 609748 which we ought to fix first.

Comment 1 Rex Dieter 2010-07-01 02:16:01 UTC
I *think* %find_lang fails with an error if it doesn't find anything that matches
/usr/share/locale/<lang>/LC_MESSAGES/<foo>.mo

Comment 2 Kevin Kofler 2010-07-01 03:00:21 UTC
It doesn't do that anymore in F12. (Not sure when exactly this got fixed, but it sure is now.) Now it only fails if it finds no translations at all, including the ones from --with-qt.

Comment 3 Kevin Kofler 2010-07-01 05:04:10 UTC
I fixed this in Rawhide. But I think we should also fix it in releases.

Comment 4 Fedora Update System 2010-07-12 12:54:31 UTC
qt-4.6.3-8.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/qt-4.6.3-8.fc13

Comment 5 Fedora Update System 2010-07-12 12:56:34 UTC
qt-4.6.3-8.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/qt-4.6.3-8.fc12

Comment 6 Fedora Update System 2010-07-13 07:39:31 UTC
qt-4.6.3-8.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-07-13 07:43:06 UTC
qt-4.6.3-8.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.