Accepting request 795705 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/795705 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdal?expand=0&rev=50
This commit is contained in:
commit
330897015c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 20 08:31:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without py2 available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 09:58:35 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
@ -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: opencl-headers
|
||||
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 @@ sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_
|
||||
%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
|
||||
|
Loading…
x
Reference in New Issue
Block a user