diff --git a/qgis.spec b/qgis.spec index e64cc89..61f69b4 100644 --- a/qgis.spec +++ b/qgis.spec @@ -90,7 +90,7 @@ BuildRequires: qwt-qt5-devel Requires: gpsbabel # We don't want to provide private Python extension libs -%global __provides_exclude_from ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$ +%global __provides_exclude_from ^(%{python3_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$ %description Geographic Information System (GIS) manages, analyzes, and displays @@ -331,18 +331,18 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -n python3-qgis %{_libdir}/libqgispython.so.* %{_datadir}/%{name}/python/ -%{python_sitearch}/%{name}/ -%{python_sitearch}/PyQt/uic/widget-plugins/ -%exclude %{python_sitearch}/%{name}/server/ -%exclude %{python_sitearch}/%{name}/_server.so +%{python3_sitearch}/%{name}/ +%{python3_sitearch}/PyQt5/uic/widget-plugins/ +%exclude %{python3_sitearch}/%{name}/server/ +%exclude %{python3_sitearch}/%{name}/_server.so %files server %doc src/server/admin.sld src/server/wms_metadata.xml %{name}-server-README.fedora %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}-server.conf %{_libdir}/lib%{name}_server.so.* %{_libexecdir}/%{name}/ -%{python_sitearch}/%{name}/server/ -%{python_sitearch}/%{name}/_server.so +%{python3_sitearch}/%{name}/server/ +%{python3_sitearch}/%{name}/_server.so %changelog