rpmlint fixes
Version: 2.3.2-6
This commit is contained in:
parent
e15721acd3
commit
bcdd5c9b66
46
gdal.spec
46
gdal.spec
@ -301,7 +301,7 @@ Summary: Python modules for the GDAL file format library
|
|||||||
Requires: python3-numpy
|
Requires: python3-numpy
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: gdal-python3 < 2.3.1
|
Obsoletes: gdal-python3 < 2.3.1
|
||||||
Provides: gdal-python3
|
Provides: gdal-python3 = %version-%release
|
||||||
|
|
||||||
%description -n python3-gdal
|
%description -n python3-gdal
|
||||||
The GDAL Python 3 modules provide support to handle multiple GIS file formats.
|
The GDAL Python 3 modules provide support to handle multiple GIS file formats.
|
||||||
@ -342,8 +342,8 @@ rm -rf frmts/gtiff/libgeotiff \
|
|||||||
frmts/gtiff/libtiff
|
frmts/gtiff/libtiff
|
||||||
#rm -r frmts/grib/degrib/g2clib
|
#rm -r frmts/grib/degrib/g2clib
|
||||||
|
|
||||||
#%patch1 -p1 -b .g2clib~
|
#%%patch1 -p1 -b .g2clib~
|
||||||
#%patch2 -p1 -b .jni~
|
#%%patch2 -p1 -b .jni~
|
||||||
%patch3 -p1 -b .completion~
|
%patch3 -p1 -b .completion~
|
||||||
%patch8 -p1 -b .java~
|
%patch8 -p1 -b .java~
|
||||||
%patch9 -p1 -b .zlib~
|
%patch9 -p1 -b .zlib~
|
||||||
@ -738,26 +738,26 @@ done
|
|||||||
|
|
||||||
|
|
||||||
pushd %{name}autotest-%{testversion}
|
pushd %{name}autotest-%{testversion}
|
||||||
# Export test enviroment
|
# Export test enviroment
|
||||||
export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python_sitearch}
|
export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python_sitearch}
|
||||||
#TODO: Nötig?
|
#TODO: Nötig?
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
|
||||||
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc
|
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%%{buildroot}%%{_libdir}:$java_inc
|
||||||
|
|
||||||
export GDAL_DATA=%{buildroot}%{_datadir}/%{name}/
|
export GDAL_DATA=%{buildroot}%{_datadir}/%{name}/
|
||||||
|
|
||||||
# Enable these tests on demand
|
# Enable these tests on demand
|
||||||
#export GDAL_RUN_SLOW_TESTS=1
|
#export GDAL_RUN_SLOW_TESTS=1
|
||||||
#export GDAL_DOWNLOAD_TEST_DATA=1
|
#export GDAL_DOWNLOAD_TEST_DATA=1
|
||||||
|
|
||||||
# Remove some test cases that would require special preparation
|
# Remove some test cases that would require special preparation
|
||||||
rm -rf ogr/ogr_pg.py # No database available
|
rm -rf ogr/ogr_pg.py # No database available
|
||||||
rm -rf ogr/ogr_mysql.py # No database available
|
rm -rf ogr/ogr_mysql.py # No database available
|
||||||
rm -rf osr/osr_esri.py # ESRI datum absent
|
rm -rf osr/osr_esri.py # ESRI datum absent
|
||||||
rm -rf osr/osr_erm.py # File from ECW absent
|
rm -rf osr/osr_erm.py # File from ECW absent
|
||||||
|
|
||||||
# Run tests but force normal exit in the end
|
# Run tests but force normal exit in the end
|
||||||
./run_all.py || true
|
./run_all.py || true
|
||||||
popd
|
popd
|
||||||
%endif #%%{run_tests}
|
%endif #%%{run_tests}
|
||||||
|
|
||||||
@ -1494,7 +1494,7 @@ popd
|
|||||||
- Added jnis
|
- Added jnis
|
||||||
- Patches updated with proper version info
|
- Patches updated with proper version info
|
||||||
- Added suggestions from Ralph Apel <r.apel@r-apel.de>
|
- Added suggestions from Ralph Apel <r.apel@r-apel.de>
|
||||||
+ Versionless symlink for gdal.jar
|
+ Versionless symlink for gdal.jar
|
||||||
+ Maven2 pom
|
+ Maven2 pom
|
||||||
+ JPP-style depmap
|
+ JPP-style depmap
|
||||||
+ Use -f XX.files for ruby and python
|
+ Use -f XX.files for ruby and python
|
||||||
|
Loading…
Reference in New Issue
Block a user