Make sure the correct python path is used
This commit is contained in:
parent
5dac192f57
commit
a61691941a
|
@ -22,6 +22,8 @@ BuildRequires: gettext-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: /usr/bin/pathfix.py
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
|
@ -29,6 +31,7 @@ Requires(postun): systemd
|
||||||
Requires: pcsc-ifd-handler
|
Requires: pcsc-ifd-handler
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: polkit
|
Requires: polkit
|
||||||
|
Requires: python3
|
||||||
Recommends: pcsc-lite-ccid
|
Recommends: pcsc-lite-ccid
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,6 +89,7 @@ done
|
||||||
--enable-usbdropdir=%{_libdir}/pcsc/drivers
|
--enable-usbdropdir=%{_libdir}/pcsc/drivers
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
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
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Reference in New Issue