mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 09:31:58 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d44e31c32 | |||
| bd914f5179 |
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: %{pypi_version}
|
Version: %{pypi_version}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Live patches pip to use system certs by default
|
Summary: Live patches pip to use system certs by default
|
||||||
|
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@@ -38,18 +38,31 @@ trusted by your system install.
|
|||||||
rm -rf %{pypi_name}.egg-info
|
rm -rf %{pypi_name}.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?fedora} <= 41 || 0%{?rhel}
|
||||||
pip install git-versioner
|
pip install git-versioner
|
||||||
|
%py3_build
|
||||||
|
%else
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if 0%{?fedora} <= 41 || 0%{?rhel}
|
||||||
|
%py3_install
|
||||||
|
%else
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
|
|
||||||
%pyproject_save_files pip_system_certs
|
%pyproject_save_files pip_system_certs
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} <= 41 || 0%{?rhel}
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%else
|
||||||
%files -n python3-%{pypi_name} -f %pyproject_files
|
%files -n python3-%{pypi_name} -f %pyproject_files
|
||||||
|
%endif
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%python3_sitelib/pip_system_certs.pth
|
%python3_sitelib/pip_system_certs.pth
|
||||||
|
%{python3_sitearch}/google/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Apr 04 2024 madomado <madonuko@outlook.com> - 4.0-1
|
* Thu Apr 04 2024 madomado <madonuko@outlook.com> - 4.0-1
|
||||||
|
|||||||
Reference in New Issue
Block a user