Hello community, here is the log from the commit of package gdal for openSUSE:Factory checked in at 2020-04-21 13:11:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdal (Old) and /work/SRC/openSUSE:Factory/.gdal.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdal" Tue Apr 21 13:11:58 2020 rev:50 rq:795705 version:3.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gdal/gdal.changes 2020-04-18 00:33:28.130429812 +0200 +++ /work/SRC/openSUSE:Factory/.gdal.new.2738/gdal.changes 2020-04-21 13:12:00.760973284 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 08:31:33 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without py2 available + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdal.spec ++++++ --- /var/tmp/diff_new_pack.jRANxE/_old 2020-04-21 13:12:02.116975988 +0200 +++ /var/tmp/diff_new_pack.jRANxE/_new 2020-04-21 13:12:02.120975996 +0200 @@ -25,6 +25,7 @@ %bcond_with ecw_support %bcond_with ecw5_support %bcond_with fgdb_support +%bcond_without python2 Name: gdal Version: 3.0.4 Release: 0 @@ -60,8 +61,10 @@ BuildRequires: perl-ExtUtils-MakeMaker BuildRequires: perl-macros BuildRequires: pkgconfig +%if %{with python2} BuildRequires: python-numpy-devel BuildRequires: python-setuptools +%endif BuildRequires: python3-numpy-devel BuildRequires: python3-setuptools BuildRequires: swig @@ -449,10 +452,12 @@ %attr(755,root,root) %{perl_vendorarch}/auto/Geo/OSR/OSR.so %{_mandir}/man3/Geo::GDAL.3pm%{?ext_man} +%if %{with python2} %files -n python2-%{pypi_package_name} %license LICENSE.TXT %doc NEWS PROVENANCE.TXT %{python_sitearch}/* +%endif %files -n python3-%{pypi_package_name} %license LICENSE.TXT
