Hans-Peter Jansen wrote:
[...] Current Blender for TW uses a plain %lang_package, but:
$ rpm -q --provides blender-lang blender-lang = 2.83.2-361.1 blender-lang-all = 2.83.2
This is from my build at home:frispete:blender but it's similar to graphics/ blender and what is in Factory.
Blender packages the translation file in a non-standard directory:
$ rpm -ql --provides blender-lang | grep -E '\<de\>' /usr/share/blender/2.83/datafiles/locale/de /usr/share/blender/2.83/datafiles/locale/de/LC_MESSAGES /usr/share/blender/2.83/datafiles/locale/de/LC_MESSAGES/blender.mo
which might be the reason for the locale(blender:de) tags being missing, and consequently doesn't pull in blender-lang for a usual installation with matching locales for TW at least.
Yes. The file attr only matches on /usr/share/locale so far: https://github.com/openSUSE/rpm-config-SUSE/blob/master/fileattrs/locale.att... The script actually extracting the information would work with the blender layout though: https://github.com/openSUSE/rpm-config-SUSE/blob/master/scripts/locale.prov Indeed there are quite some packages that do not install their translations to the standard location: $ zcat ARCHIVES.gz|awk '$0 ~ /locale\/[^/]+\/LC_MESSAGES\/.*\.mo$/ && $0 !~ /\/usr\/share\/locale/ {print $1}'|sort -u [...] ./i586/gnome-keysign-0.9.7.2-2.2.i586.rpm: ./i586/grass-7.8.3-1.4.i586.rpm: ./i586/hawk2-2.2.0+git.1593701652.5c1edcf8-1.1.i586.rpm: ./i586/kbd-2.2.0-2.2.i586.rpm: ./i586/openscad-2019.05-2.3.i586.rpm: ./i586/python3-wxPython-lang-4.1.0-2.1.i586.rpm: ./i586/ruby2.6-rubygem-gettext-3.3.5-1.2.i586.rpm: ./i586/ruby2.6-rubygem-gettext-testsuite-3.3.5-1.2.i586.rpm: ./i586/ruby2.7-rubygem-gettext-3.3.5-1.2.i586.rpm: ./i586/ruby2.7-rubygem-gettext-testsuite-3.3.5-1.2.i586.rpm: ./i586/rubygem-gettext_activerecord-2.1.0-17.18.i586.rpm: ./i586/rubygem-gettext_activerecord-testsuite-2.1.0-17.18.i586.rpm: ./i586/sarg-2.4.0-3.1.i586.rpm: ./i586/spyder-terminal-0.3.2-1.1.i586.rpm: ./i586/starfighter-2.0.0.3-1.2.i586.rpm: ./i586/WoeUSB-3.3.1-1.2.i586.rpm: ./i586/yudit-2.9.6-3.12.i586.rpm: ./i586/zabbix-phpfrontend-4.0.19-1.3.i586.rpm: ./noarch/blender-lang-2.83.1-1.1.noarch.rpm: ./noarch/epymc-lang-1.2.0-2.5.noarch.rpm: ./noarch/gnome-shell-extension-desktop-icons-20.04.0-2.1.noarch.rpm: ./noarch/gnome-shell-extension-hamster-time-tracker-0.10.0_3.36-5.1.noarch.rpm: ./noarch/gnuhealth-client-3.6.9-1.1.noarch.rpm: ./noarch/gnulib-devel-git.20200216.f4693b016-1.2.noarch.rpm: ./noarch/icingaweb2-2.8.1-1.1.noarch.rpm: ./noarch/icingaweb2-common-2.8.1-1.1.noarch.rpm: ./noarch/icingaweb2-module-director-1.7.2-1.2.noarch.rpm: ./noarch/phpMyAdmin-4.9.5-4.1.noarch.rpm: ./noarch/postfixadmin-3.2-2.4.noarch.rpm: ./noarch/python3-colander-1.7.0-5.1.noarch.rpm: ./noarch/python3-Django-3.0.7-1.2.noarch.rpm: ./noarch/python3-django-allauth-0.42.0-1.1.noarch.rpm: ./noarch/python3-django-avatar-5.0.0-1.3.noarch.rpm: ./noarch/python3-django-contrib-comments-1.9.2-1.3.noarch.rpm: ./noarch/python3-django-countries-6.1.2-1.1.noarch.rpm: ./noarch/python3-django-debug-toolbar-2.2-1.2.noarch.rpm: ./noarch/python3-django-extensions-3.0.2-1.1.noarch.rpm: ./noarch/python3-django-filter-2.3.0-1.1.noarch.rpm: ./noarch/python3-django-formtools-2.2-1.2.noarch.rpm: ./noarch/python3-django-guardian-2.3.0-1.1.noarch.rpm: ./noarch/python3-django-model-utils-4.0.0-1.2.noarch.rpm: ./noarch/python3-django-oidc-provider-0.7.0-2.1.noarch.rpm: ./noarch/python3-django-phonenumber-field-4.0.0-1.1.noarch.rpm: ./noarch/python3-django-q-1.3.1-1.1.noarch.rpm: ./noarch/python3-django-registration-3.1-2.1.noarch.rpm: ./noarch/python3-djangorestframework-3.11.0-1.5.noarch.rpm: ./noarch/python3-django-reversion-3.0.7-1.3.noarch.rpm: ./noarch/python3-django-rosetta-0.9.4-1.2.noarch.rpm: ./noarch/python3-django-sortedm2m-3.0.0-1.1.noarch.rpm: ./noarch/python3-django-treebeard-4.3.1-1.1.noarch.rpm: ./noarch/python3-humanize-2.4.0-1.1.noarch.rpm: ./noarch/python3-IMDbPY-6.8-1.5.noarch.rpm: ./noarch/python3-Sphinx2-2.3.1-1.3.noarch.rpm: ./noarch/python3-Sphinx-3.0.4-1.1.noarch.rpm: ./noarch/python3-tap.py-3.0-2.1.noarch.rpm: ./noarch/python3-WTForms-2.2.1-1.3.noarch.rpm: ./noarch/reuse-0.8.0-1.2.noarch.rpm: ./noarch/spyder-lang-4.1.3-3.1.noarch.rpm: ./noarch/weblate-4.1.1-1.1.noarch.rpm: ./noarch/widelands-data-build20-3.3.noarch.rpm: ./noarch/yast2-trans-af-84.87.20200627.7af6bd201f-1.1.noarch.rpm: [...] ./noarch/yast2-trans-zu-84.87.20200627.7af6bd201f-1.1.noarch.rpm: ./noarch/youtube-dl-gui-lang-0.4-1.8.noarch.rpm: ./x86_64/gnome-keysign-0.9.7.2-2.2.x86_64.rpm: ./x86_64/grass-7.8.3-1.4.x86_64.rpm: ./x86_64/hawk2-2.2.0+git.1593701652.5c1edcf8-1.1.x86_64.rpm: ./x86_64/kbd-2.2.0-2.2.x86_64.rpm: ./x86_64/openscad-2019.05-2.3.x86_64.rpm: ./x86_64/python3-wxPython-lang-4.1.0-2.1.x86_64.rpm: ./x86_64/ruby2.6-rubygem-gettext-3.3.5-1.2.x86_64.rpm: ./x86_64/ruby2.6-rubygem-gettext-testsuite-3.3.5-1.2.x86_64.rpm: ./x86_64/ruby2.7-rubygem-gettext-3.3.5-1.2.x86_64.rpm: ./x86_64/ruby2.7-rubygem-gettext-testsuite-3.3.5-1.2.x86_64.rpm: ./x86_64/rubygem-gettext_activerecord-2.1.0-17.18.x86_64.rpm: ./x86_64/rubygem-gettext_activerecord-testsuite-2.1.0-17.18.x86_64.rpm: ./x86_64/sarg-2.4.0-3.1.x86_64.rpm: ./x86_64/spyder-terminal-0.3.2-1.1.x86_64.rpm: ./x86_64/starfighter-2.0.0.3-1.2.x86_64.rpm: ./x86_64/WoeUSB-3.3.1-1.2.x86_64.rpm: ./x86_64/yudit-2.9.6-3.12.x86_64.rpm: ./x86_64/zabbix-phpfrontend-4.0.19-1.3.x86_64.rpm: So I guess it makes sense to relax the regexp to not limit the match to /usr/share/locale. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Software Solutions Germany GmbH, HRB 36809 (AG Nürnberg), GF: Felix Imendörffer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org