Bug 1224 - gutenprint doesn't respect packaging guidelines
: gutenprint doesn't respect packaging guidelines
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2012-12-10 13:41 MSK by Stanislav Hanzhin
Modified: 2012-12-17 17:37 MSK (History)
1 user (show)

See Also:
RPM Package: gutenprint-common-5.2.9-1-rosa2012.1.i586
Bad POT generating:


Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Hanzhin 2012-12-10 13:41:04 MSK
Description of problem:
Package gutenprint-common-5.2.9-1-rosa2012.1.i586 doesn't respect packaging guidelines [1]

Spec file contains the following  in section %install:
# Translation files of Gutenprint
find %{buildroot} -regex ".*/gutenprint.*.[mp]o" | sed -e "s@^%{buildroot}@@" > gutenprint.lang

and the following in section %files

%files common -f gutenprint.lang

[1] http://wiki.rosalab.ru/ru/index.php/Localization_policy
Comment 1 Alexander Khryukin 2012-12-17 17:37:41 MSK
It's a bogus rpmlint warning.
File packaged into the right place
but structure of gutenptint po files not consistent to
expected struct.
And as result we got a warning that locales not in find lang
when it actually in *.lang file.