diff --git qgis/qgis.spec qgis/qgis.spec.tmp index 96a3d50bee..c26f6c5880 100644 --- qgis/qgis.spec +++ qgis/qgis.spec.tmp @@ -16,7 +16,7 @@ Name: qgis Version: 2.18.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A user friendly Open Source Geographic Information System Group: Applications/Engineering @@ -145,7 +145,11 @@ Requires: grass%{?_isa} = %{grass_version} %description grass GRASS plugin for QGIS required to interface with the GRASS system. -%package python +%package -n python2-qgis +%{?python_provide:%python_provide python2-qgis} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python integration and plug-ins for QGIS Group: Applications/Engineering Requires: %{name}%{?_isa} = %{version}-%{release} @@ -162,7 +166,7 @@ Requires: PyYAML Requires: qscintilla-python %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} -%description python +%description -n python2-qgis Python integration and plug-ins for QGIS. %package server @@ -339,9 +343,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %postun grass -p /sbin/ldconfig -%post python -p /sbin/ldconfig +%post -n python2-qgis -p /sbin/ldconfig -%postun python -p /sbin/ldconfig +%postun -n python2-qgis -p /sbin/ldconfig %files -f %{name}.lang %doc BUGS NEWS Exception_to_GPL_for_Qt.txt ChangeLog.gz @@ -391,7 +395,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %{_libdir}/%{name}/grass/ %{_datadir}/%{name}/grass/ -%files python +%files -n python2-qgis %{_libdir}/libqgispython.so.* %{_datadir}/%{name}/python/ %{python_sitearch}/%{name}/ @@ -409,6 +413,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.18.11-4 +- Python 2 binary package renamed to python2-qgis + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 2.18.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild