diff --git a/python-Pygments.changes b/python-Pygments.changes index 0cf6099..4cd2d5c 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 3 11:42:54 UTC 2024 - Benoît Monin + +- fix build by forcing pip to use the prebuilt CA bundle + ------------------------------------------------------------------- Thu Jul 11 14:24:45 UTC 2024 - Dirk Müller diff --git a/python-Pygments.spec b/python-Pygments.spec index 9075049..288b9e9 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -74,9 +74,13 @@ source code. Highlights are: chmod -x pygments/formatters/_mapping.py pygments/lexers/gsql.py %build +# Point pip to the prebuilt CA bundle +export _PIP_STANDALONE_CERT=/usr/share/factory/var/lib/ca-certificates/ca-bundle.pem %pyproject_wheel %install +# Point pip to the prebuilt CA bundle +export _PIP_STANDALONE_CERT=/usr/share/factory/var/lib/ca-certificates/ca-bundle.pem %pyproject_install install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 %python_clone -a %{buildroot}%{_bindir}/pygmentize