1- %define downloads_version 1.8
2-
31Summary: Get OIDC bearer tokens by interacting with Hashicorp vault
42Name: htgettoken
5- Version: 1.20
3+ Version: 2.0
64Release: 1%{?dist }
75
86License: BSD-3-Clause
@@ -12,8 +10,8 @@ BuildArch: noarch
1210Prefix: %{_prefix }
1311
1412# download with:
15- # $ curl -o htgettoken-%{version}.tar.gz \
16- # https://codeload.github.com/fermitools/htgettoken/tar.gz/%{version}
13+ # $ curl -o htgettoken-%% {version}.tar.gz \
14+ # https://codeload.github.com/fermitools/htgettoken/tar.gz/%% {version}
1715Source0: %{name }-%{version }.tar.gz
1816
1917# rpmbuild dependencies
@@ -54,11 +52,11 @@ htgettoken gets OIDC bearer tokens by interacting with Hashicorp vault
5452%autosetup -n %{name }-%{version }
5553
5654%build
57- %py3_build_wheel
55+ %py3_build
5856
5957%install
6058# install the Python project
61- %py3_install_wheel %{ name }-%{ version }- * .whl
59+ %py3_install
6260# link httokendecode to htdecodetoken
6361(cd %{buildroot}%{_bindir}/; ln -s htdecode httokendecode)
6462# install man pages
@@ -75,26 +73,25 @@ rm -rf $RPM_BUILD_ROOT
7573# -- changelog
7674
7775%changelog
78- # - Replace use of m2crypto and pyOpenSSL with urllib3
79- # - Replace use of pykerberos with gssapi
80- # - Use standard Requires for Python modules instead of PyInstaller
81- # - Add --vaultcertname option to specify an alternative certificate name.
82- # That used to be an additional optional meaning of the --vaultalias option,
83- # but urllib3 requires only one name to match.
84- # - Add setuptools build infrastructure
85- # - Refactor htgettoken script into module with entry point.
86- # This enables invoking htgettoken as `htgettoken.main()` from Python.
87- # - Use wheels to build/install Python package, which simplified the entry
88- # points and improves (slightly) the metadata
89-
90-
91- #- Fix the httokensh background process's check for its parent process.
92- # That is only a backup in case only the parent process is hard-killed,
93- # because normally the parent process kills the background process when
94- # the parent exits.
95- #- Use newer `sts` secrets API for token exchanges.
96- #- Fix the `-o`/`--outfile` option to work with relative paths.
97- #- Change the `--nobearertoken` option to always get and save a vault token.
76+ * Wed Jul 24 2024 Dave Dykstra <dwd@fnal.gov> 2.0-1
77+ - Replace use of m2crypto and pyOpenSSL with urllib3
78+ - Replace use of pykerberos with gssapi
79+ - Use standard Requires for Python modules instead of PyInstaller
80+ - Add --vaultcertname option to specify an alternative certificate name.
81+ That used to be an additional optional meaning of the --vaultalias option,
82+ but urllib3 requires only one name to match.
83+ - Add setuptools build infrastructure
84+ - Refactor htgettoken script into module with entry point.
85+ This enables invoking htgettoken as `htgettoken.main()` from Python.
86+ - Use wheels to build/install Python package, which simplified the entry
87+ points and improves (slightly) the metadata
88+ - Fix the httokensh background process's check for its parent process.
89+ That is only a backup in case only the parent process is hard-killed,
90+ because normally the parent process kills the background process when
91+ the parent exits.
92+ - Use newer `sts` secrets API for token exchanges.
93+ - Fix the `-o`/`--outfile` option to work with relative paths.
94+ - Change the `--nobearertoken` option to always get and save a vault token.
9895
9996* Thu Aug 17 2023 Dave Dykstra <dwd@fnal.gov> 1.20-1
10097- Update httokensh to by default set the minimum vault token time to live to
0 commit comments