Switch from pathfix.py to %py3_shebang_fix

For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
This commit is contained in:
Lumir Balhar 2022-11-01 06:14:45 +00:00 committed by Jakub Jelen
parent 4272428e1b
commit a778786377
1 changed files with 1 additions and 2 deletions

View File

@ -32,7 +32,6 @@ BuildRequires: libtool
BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: /usr/bin/pathfix.py
BuildRequires: flex
Requires(post): systemd
@ -103,7 +102,7 @@ done
--enable-usbdropdir=%{_libdir}/pcsc/drivers
%make_build
doxygen doc/doxygen.conf ; rm -f doc/api/*.{map,md5}
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" src/spy/pcsc-spy
%py3_shebang_fix src/spy/pcsc-spy
%install