forked from pool/python-Pygments
Accepting request 1239844 from home:mcalabkova:branches:devel:languages:python
- Drop dependency on ca-certificates-mozilla-prebuilt to really avoid buildcycles OBS-URL: https://build.opensuse.org/request/show/1239844 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=119
This commit is contained in:
@@ -43,7 +43,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
#!BuildIgnore: ca-certificates:p11-kit
|
||||
#!BuildIgnore: ca-certificates:p11-kit-tools
|
||||
BuildRequires: ca-certificates-mozilla-prebuilt
|
||||
Provides: python-pygments = %{version}
|
||||
Obsoletes: python-pygments < %{version}
|
||||
BuildArch: noarch
|
||||
@@ -74,13 +73,9 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user