Hello community,

here is the log from the commit of package gdal for openSUSE:Leap:15.2 checked 
in at 2020-04-22 14:13:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/gdal (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.gdal.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdal"

Wed Apr 22 14:13:31 2020 rev:30 rq:796208 version:3.0.4

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/gdal/gdal.changes      2020-04-18 
18:41:07.357965267 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.gdal.new.2738/gdal.changes    2020-04-22 
14:13:33.198572117 +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.caZ1jP/_old  2020-04-22 14:13:33.982573700 +0200
+++ /var/tmp/diff_new_pack.caZ1jP/_new  2020-04-22 14:13:33.986573708 +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


Reply via email to