]> git.pld-linux.org Git - packages/python-babel.git/commit
don't make locale data optional with %lang()
authorJan Palus <atler@pld-linux.org>
Fri, 3 Dec 2021 13:28:13 +0000 (14:28 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 3 Dec 2021 13:34:17 +0000 (14:34 +0100)
commitfd7d64cc0000469cc7327a7f5e0cc1483b100c46
treea0e8810e87312afc8b269e987397789d22d6a056
parentdda24d7af8e87b06632a27c696a7dc1e52e52f5b
don't make locale data optional with %lang()

locale data is integral part of the package used to generate locale
dependant artifacts. while no %lang() might be of use in build container
it still should be possible to ie generate docs:

FAILED: doc/mpd.1 doc/mpd.conf.5
/usr/bin/sphinx-build -q -b man -d doc/man_doctrees
/home/users/builder/rpm/BUILD/mpd-0.23.5/doc doc
...
Exception occurred:
  File "/usr/share/python3.9/site-packages/babel/core.py", line 331, in
  parse
      raise UnknownLocaleError(input_id)
      babel.core.UnknownLocaleError: unknown locale 'en'
python-babel.spec
This page took 0.096551 seconds and 4 git commands to generate.