11Summary: osg-pki-tools
22Name: osg-pki-tools
3- Version: 3.7.2
3+ Version: 3.7.3
44Release: 1%{?dist }
55Source: osg-pki-tools-%{version }.tar.gz
66License: Apache 2.0
@@ -11,7 +11,10 @@ BuildArch: noarch
1111%global __python %{__python3}
1212
1313BuildRequires: python3
14+ BuildRequires: python3-pip
1415BuildRequires: python3-devel
16+ BuildRequires: python3-setuptools
17+ BuildRequires: python3-wheel
1518
1619Requires: python3-m2crypto
1720Requires: python3-urllib3
@@ -28,8 +31,12 @@ Requires: python3-urllib3
2831find . -type f -exec \
2932 sed -ri ' 1s,^#!\s*(/usr)?/bin/(env *)?python.*,#!%{__python},' ' {}' +
3033
31- %{__python} setup.py install --root= %{buildroot }
32- rm -f %{buildroot }%{python_sitelib }/*.egg-info
34+ # pyproject.toml causes pip to download additional dependencies - we don't want this
35+ rm -f ./pyproject.toml
36+
37+ %{__python} -m pip install . --root= %{buildroot }
38+
39+ rm -rf %{buildroot }%{python_sitelib }/*.egg-info
3340mkdir -p %{buildroot }%{_datadir }/man/man1
3441gzip -c man/osg-incommon-cert-request.1 > %{buildroot }%{_datadir }/man/man1/osg-incommon-cert-request.1.gz
3542
@@ -38,12 +45,16 @@ mv %{buildroot}/%{_prefix}/config/ca-issuer.conf %{buildroot}%{_sysconfdir}/osg/
3845
3946%files
4047%{python3_sitelib }/osgpkitools
48+ %{python3_sitelib }/osg_pki_tools* .dist-info/*
4149%{_bindir }/osg-cert-request
4250%{_bindir }/osg-incommon-cert-request
4351%{_datadir }/man/man1/osg-incommon-cert-request*
4452%config(noreplace) %{_sysconfdir }/osg/pki/ca-issuer.conf
4553
4654%changelog
55+ *
Mon Sep 08 2025 Matt Westphall <[email protected] > -
3.7.3 56+ - Initial OSG 25 release; switch from distutils to setuptools-based intstall
57+
4758*
Fri Mar 7 2025 Dave Dykstra <[email protected] > -
3.7.2 4859- Fix bug in invocation of urllib3.request() in restclient's get_request();
4960 it was passing headers as the 4th parameter instead of identifying it
0 commit comments