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,8 @@ 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+ %{__python} -m pip install . --root= %{buildroot }
35+ rm -rf %{buildroot }%{python_sitelib }/*.egg-info
3336mkdir -p %{buildroot }%{_datadir }/man/man1
3437gzip -c man/osg-incommon-cert-request.1 > %{buildroot }%{_datadir }/man/man1/osg-incommon-cert-request.1.gz
3538
@@ -38,12 +41,16 @@ mv %{buildroot}/%{_prefix}/config/ca-issuer.conf %{buildroot}%{_sysconfdir}/osg/
3841
3942%files
4043%{python3_sitelib }/osgpkitools
44+ %{python3_sitelib }/osg_pki_tools* .dist-info/*
4145%{_bindir }/osg-cert-request
4246%{_bindir }/osg-incommon-cert-request
4347%{_datadir }/man/man1/osg-incommon-cert-request*
4448%config(noreplace) %{_sysconfdir }/osg/pki/ca-issuer.conf
4549
4650%changelog
51+ *
Mon Sep 08 2025 Matt Westphall <[email protected] > -
3.7.3 52+ - Initial OSG 25 release; switch from distutils to setuptools-based intstall
53+
4754*
Fri Mar 7 2025 Dave Dykstra <[email protected] > -
3.7.2 4855- Fix bug in invocation of urllib3.request() in restclient's get_request();
4956 it was passing headers as the 4th parameter instead of identifying it
0 commit comments