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:
parent
9a496f324e
commit
02adf2d043
|
@ -33,7 +33,6 @@ BuildRequires: libtool
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: /usr/bin/pathfix.py
|
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
|
@ -105,7 +104,7 @@ done
|
||||||
--enable-usbdropdir=%{_libdir}/pcsc/drivers
|
--enable-usbdropdir=%{_libdir}/pcsc/drivers
|
||||||
%make_build
|
%make_build
|
||||||
doxygen doc/doxygen.conf ; rm -f doc/api/*.{map,md5}
|
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
|
%install
|
||||||
|
|
Loading…
Reference in New Issue