File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11Summary: Get OIDC bearer tokens by interacting with Hashicorp vault
22Name: htgettoken
33Version: 2.2
4- Release: 1 %{?dist }
4+ Release: 2 %{?dist }
55
66License: BSD-3-Clause
77URL: https://github.com/fermitools/htgettoken
@@ -54,6 +54,9 @@ htgettoken gets OIDC bearer tokens by interacting with Hashicorp vault
5454%install
5555# install the Python project
5656%py3_install_wheel %{name }-%{version }-* .whl
57+ # add -I to the shebang on the main program to ignore PYTHONPATH
58+ %define py3_shebang_flags I
59+ %py3_shebang_fix %{buildroot }%{_bindir }/%{name }
5760# link httokendecode to htdecodetoken
5861(cd %{buildroot}%{_bindir}/; ln -s htdecodetoken httokendecode)
5962# install man pages
@@ -71,6 +74,10 @@ rm -rf $RPM_BUILD_ROOT
7174
7275
7376%changelog
77+ * Thu May 8 2025 Dave Dykstra <dwd@fnal.gov> 2.2-2
78+ - Add "-I" to the shebang on /usr/bin/htgettoken to ignore PYTHONPATH
79+ and user libraries.
80+
7481* Fri Mar 21 2025 Dave Dykstra <dwd@fnal.gov> 2.2-1
7582- Add BuildRequires python3-devel to generate correct Python metadata.
7683- Remove explicit Requires for python dependencies, rely on Python metadata.
You can’t perform that action at this time.
0 commit comments