From bf8cd056d05e038ef1486158482eec705ff203e2 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 25 Jul 2014 13:27:40 +0100 Subject: [PATCH] 4.2.0 --- .gitignore | 6 +----- libspatialite.spec | 35 +++++++++++++++++------------------ sources | 2 +- 3 files changed, 19 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 08da3fc..0512b3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1 @@ -/libspatialite-2.4.0.tar.gz -/libspatialite-3.1.0-RC2.tar.gz -/libspatialite-4.0.0.tar.gz -/libspatialite-4.1.0.tar.gz -/libspatialite-4.1.1.tar.gz +/libspatialite-4.*.tar.gz diff --git a/libspatialite.spec b/libspatialite.spec index 64e11f0..52489dd 100644 --- a/libspatialite.spec +++ b/libspatialite.spec @@ -29,15 +29,15 @@ # TODO: Check if that's still true anywhere %endif -# At least 20 tests fail due to precision issues on ARM -# Contacted the author about the matter -%ifarch armv7hl +# check_bufovflw test fails on gcc 4.9 +# https://groups.google.com/forum/#!msg/spatialite-users/zkGP-gPByXk/EAZ-schWn1MJ +%if 0%{?fedora} >= 21 %global _no_checks 1 %endif Name: libspatialite -Version: 4.1.1 -Release: 3%{?dist} +Version: 4.2.0 +Release: 1%{?dist} Summary: Enables SQLite to support spatial data Group: System Environment/Libraries License: MPLv1.1 or GPLv2+ or LGPLv2+ @@ -79,14 +79,6 @@ developing applications that use %{name}. %prep %setup -q -# Remove test failing on 32 bit systems -# Contacted the author about it -%ifarch i386 i686 ppc - sed -i '/hexgrid22/ d' test/Makefile.in test/Makefile.am - rm test/sql_stmt_geosadvanced_tests/hexgrid22.testcase -%endif - - %build %configure \ --disable-static \ @@ -104,12 +96,14 @@ rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Delete undesired libtool archives -rm -f %{buildroot}/%{_libdir}/%{name}.la +find %{buildroot} -type f -name "*.la" -delete %check %if 0%{?_no_checks} +# Run check but don't fail build +make check V=1 ||: %else -make check +make check V=1 %endif @@ -124,17 +118,22 @@ rm -rf %{buildroot} %files %doc COPYING AUTHORS -%{_libdir}/%{name}.so.* +%{_libdir}/%{name}.so.7* +%{_libdir}/mod_spatialite.so.7* %files devel %doc examples/*.c %{_includedir}/spatialite.h %{_includedir}/spatialite %{_libdir}/%{name}.so +%{_libdir}/mod_spatialite.so %{_libdir}/pkgconfig/spatialite.pc %changelog +* Fri Jul 25 2014 Peter Robinson 4.2.0-1 +- Update to 4.2.0 + * Sat Jun 07 2014 Fedora Release Engineering - 4.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild @@ -161,7 +160,7 @@ rm -rf %{buildroot} * Thu Feb 14 2013 Fedora Release Engineering - 4.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -* Sun Dec 1 2012 Volker Fröhlich - 4.0.0-1 +* Sat Dec 1 2012 Volker Fröhlich - 4.0.0-1 - New upstream release - Remove arch restrictions, solving BZ 663938 and 846301 - Update conditional for geosadvanced @@ -181,7 +180,7 @@ rm -rf %{buildroot} - Don't run checks if built without advancedgeos - Include examples as documentation -* Wed Jan 14 2012 Volker Fröhlich - 3.0.1-1 +* Sat Jan 14 2012 Volker Fröhlich - 3.0.1-1 - New upstream release - Drop defattr - Run tests diff --git a/sources b/sources index 6e8f148..4699d5f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -356e0b18de0d382e27da578dc227a7b0 libspatialite-4.1.1.tar.gz +783e6b9a62b97c7e146c2d8ce28d2963 libspatialite-4.2.0.tar.gz