Python 2 binary package renamed to python2-qgis

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:43:37 -04:00
parent 2010e1c555
commit fb7bb13fe3
1 changed files with 14 additions and 6 deletions

View File

@ -16,7 +16,7 @@
Name: qgis Name: qgis
Version: 2.18.11 Version: 2.18.11
Release: 3%{?dist} Release: 4%{?dist}
Summary: A user friendly Open Source Geographic Information System Summary: A user friendly Open Source Geographic Information System
Group: Applications/Engineering Group: Applications/Engineering
@ -145,7 +145,11 @@ Requires: grass%{?_isa} = %{grass_version}
%description grass %description grass
GRASS plugin for QGIS required to interface with the GRASS system. 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 Summary: Python integration and plug-ins for QGIS
Group: Applications/Engineering Group: Applications/Engineering
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -162,7 +166,7 @@ Requires: PyYAML
Requires: qscintilla-python Requires: qscintilla-python
%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
%description python %description -n python2-qgis
Python integration and plug-ins for QGIS. Python integration and plug-ins for QGIS.
%package server %package server
@ -339,9 +343,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%postun grass -p /sbin/ldconfig %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 %files -f %{name}.lang
%doc BUGS NEWS Exception_to_GPL_for_Qt.txt ChangeLog.gz %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/ %{_libdir}/%{name}/grass/
%{_datadir}/%{name}/grass/ %{_datadir}/%{name}/grass/
%files python %files -n python2-qgis
%{_libdir}/libqgispython.so.* %{_libdir}/libqgispython.so.*
%{_datadir}/%{name}/python/ %{_datadir}/%{name}/python/
%{python_sitearch}/%{name}/ %{python_sitearch}/%{name}/
@ -409,6 +413,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 2.18.11-3 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild