Hello community, here is the log from the commit of package gdal for openSUSE:Factory checked in at 2019-02-25 17:56:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdal (Old) and /work/SRC/openSUSE:Factory/.gdal.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdal" Mon Feb 25 17:56:50 2019 rev:37 rq:678650 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gdal/gdal.changes 2019-02-01 11:48:31.940362284 +0100 +++ /work/SRC/openSUSE:Factory/.gdal.new.28833/gdal.changes 2019-02-25 17:56:52.714313743 +0100 @@ -1,0 +2,5 @@ +Sat Feb 23 01:35:04 UTC 2019 - John Vandenberg <[email protected]> + +- Use the Python package name 'GDAL' as used by upstream + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdal.spec ++++++ --- /var/tmp/diff_new_pack.d21iam/_old 2019-02-25 17:56:53.990312781 +0100 +++ /var/tmp/diff_new_pack.d21iam/_new 2019-02-25 17:56:53.994312778 +0100 @@ -1,7 +1,7 @@ # # spec file for package gdal # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,6 +20,8 @@ # http://trac.osgeo.org/gdal/ticket/4543 %define soversion 20 %define sourcename gdal +# Uppercase GDAL is the canonical name for this package in Python +%define pypi_package_name GDAL %bcond_with ecw_support %bcond_with ecw5_support %bcond_with fgdb_support @@ -152,21 +154,27 @@ %description -n perl-%{name} Perl bindings for GDAL - Geo::GDAL, Geo::OGR and Geo::OSR modules. -%package -n python-%{name} +%package -n python2-%{pypi_package_name} Summary: GDAL Python module Group: Development/Languages/Python Requires: %{name} = %{version}-%{release} +# Renaming to uppercase 'GDAL' during 2.4.0; previously used lowercase Provides: python2-%{name} = %{version} +Obsoletes: python2-%{name} +Provides: python-%{name} = %{version} +Obsoletes: python-%{name} -%description -n python-%{name} +%description -n python2-%{pypi_package_name} The GDAL python modules provide support to handle multiple GIS file formats. -%package -n python3-%{name} +%package -n python3-%{pypi_package_name} Summary: GDAL Python3 module Group: Development/Languages/Python Requires: %{name} = %{version}-%{release} +Provides: python3-%{name} = %{version} +Obsoletes: python3-%{name} -%description -n python3-%{name} +%description -n python3-%{pypi_package_name} The GDAL python modules provide support to handle multiple GIS file formats. %prep @@ -480,13 +488,13 @@ %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so %{_mandir}/man3/Geo::GDAL.3pm%{?ext_man} -%files -n python-%{name} +%files -n python2-%{pypi_package_name} %defattr(644,root,root,755) %license LICENSE.TXT %doc NEWS PROVENANCE.TXT %{python_sitearch}/* -%files -n python3-%{name} +%files -n python3-%{pypi_package_name} %defattr(644,root,root,755) %license LICENSE.TXT %doc NEWS PROVENANCE.TXT
