Specify dbus path

This commit is contained in:
Gwyn Ciesla 2019-08-21 12:59:32 -05:00
parent cdbaa88d55
commit 4e7f9c8cdc

View File

@ -284,6 +284,7 @@ pushd %{_target_platform}
%{!?with_python3:--no-qsci-api}%{?with_python3:--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci} \
--verbose \
--sip-incdir %{_prefix}/include/python%{python2_version}/ \
--dbus=%{_includedir}/dbus-1.0/dbus/ \
QMAKE_CFLAGS_RELEASE="%{optflags}" \
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
@ -306,6 +307,7 @@ pushd %{_target_platform}-python3
%{?py3_sipdir:--sipdir=%{py3_sipdir}} \
--verbose \
--sip-incdir %{_prefix}/include/python%{python3_version}m/ \
--dbus=%{_includedir}/dbus-1.0/dbus/ \
QMAKE_CFLAGS_RELEASE="%{optflags}" \
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
@ -385,8 +387,6 @@ sed -i \
%{buildroot}%{_bindir}/{pyrcc5,pylupdate5,pyuic5}
%endif
find %{buildroot} -type f -name '*.so'
%if 0%{?with_python2}
%files -n python2-qt5
%{python2_sitearch}/PyQt5/Enginio.so