From a778786377225e41cdc29a3c1e84b1fcd1c74d39 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 1 Nov 2022 06:14:45 +0000 Subject: [PATCH] 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 --- pcsc-lite.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcsc-lite.spec b/pcsc-lite.spec index 7f7af8b..531a275 100644 --- a/pcsc-lite.spec +++ b/pcsc-lite.spec @@ -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