diff --git a/.gitignore b/.gitignore index ac3d7ad..458718d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libspatialite-5.0.0-beta0.tar.gz +/libspatialite-5.0.0.tar.gz diff --git a/libspatialite-proj_api.h-c.patch b/libspatialite-proj_api.h-c.patch deleted file mode 100644 index 69c36bb..0000000 --- a/libspatialite-proj_api.h-c.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- src/gaiageo/gg_transform.c.old 2019-09-03 10:01:50.670929280 +0100 -+++ src/gaiageo/gg_transform.c 2019-09-03 10:02:30.536398827 +0100 -@@ -55,6 +55,7 @@ - #endif - - #ifndef OMIT_PROJ /* including PROJ.4 */ -+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H - #include - #endif - ---- src/connection_cache/alloc_cache.c.old 2019-09-03 10:03:58.207630616 +0100 -+++ src/connection_cache/alloc_cache.c 2019-09-03 10:04:09.921062403 +0100 -@@ -81,6 +81,7 @@ - #endif - - #ifndef OMIT_PROJ /* including PROJ.4 */ -+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H - #include - #endif - ---- src/spatialite/spatialite.c.old 2019-09-03 10:04:48.569487084 +0100 -+++ src/spatialite/spatialite.c 2019-09-03 10:05:12.491368904 +0100 -@@ -121,6 +121,7 @@ - #endif - - #ifndef OMIT_PROJ /* including PROJ.4 */ -+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H - #include - #endif - ---- test/check_sql_stmt.c.old 2019-09-03 10:05:46.449620693 +0100 -+++ test/check_sql_stmt.c 2019-09-03 10:05:56.143978052 +0100 -@@ -67,6 +67,7 @@ - #endif - - #ifndef OMIT_PROJ /* only if PROJ is supported */ -+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H - #include - #endif - ---- src/gaiageo/gg_geodesic.c.old 2019-09-03 10:08:27.783280716 +0100 -+++ src/gaiageo/gg_geodesic.c 2019-09-03 10:08:41.073741627 +0100 -@@ -65,6 +65,7 @@ - #include - - #ifndef OMIT_PROJ -+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H - #include - #if defined(PJ_VERSION) && PJ_VERSION >= 490 - /* Enable new proj.4's geodesic distance */ diff --git a/libspatialite-proj_api.h-configure.patch b/libspatialite-proj_api.h-configure.patch deleted file mode 100644 index 3c80818..0000000 --- a/libspatialite-proj_api.h-configure.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.ac.old 2019-09-03 09:58:34.566700370 +0100 -+++ configure.ac 2019-09-03 09:58:42.465991559 +0100 -@@ -217,7 +217,6 @@ - [--enable-proj], [enables PROJ.4 inclusion [default=yes]])], - [], [enable_proj=yes]) - if test x"$enable_proj" != "xno"; then -- AC_CHECK_HEADERS(proj_api.h,, [AC_MSG_ERROR([cannot find proj_api.h, bailing out])]) - AC_SEARCH_LIBS(pj_init_plus,proj,,AC_MSG_ERROR(['libproj' is required but it doesn't seem to be installed on this system.]),-lm) - AC_SEARCH_LIBS(pj_init_ctx,proj,,AC_MSG_ERROR(['libproj' is required but the version on this system does not support the required features (Version 4.8.0 or later is needed).]),-lm) - else diff --git a/libspatialite.spec b/libspatialite.spec index 4cda2d6..d63ee2b 100644 --- a/libspatialite.spec +++ b/libspatialite.spec @@ -33,13 +33,11 @@ Name: libspatialite Version: 5.0.0 -Release: beta0_1%{?dist}.2 +Release: 1%{?dist} Summary: Enables SQLite to support spatial data License: MPLv1.1 or GPLv2+ or LGPLv2+ URL: https://www.gaia-gis.it/fossil/libspatialite -Source0: http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-%{version}-beta0.tar.gz -Patch0: libspatialite-proj_api.h-configure.patch -Patch1: libspatialite-proj_api.h-c.patch +Source0: http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-%{version}.tar.gz BuildRequires: gcc autoconf BuildRequires: freexl-devel BuildRequires: geos-devel >= 3.7.1 @@ -68,9 +66,7 @@ developing applications that use %{name}. %prep -%setup -q -n %{name}-%{version}-beta0 -%patch0 -p0 -%patch1 -p0 +%setup -q -n %{name}-%{version} autoconf %build @@ -122,6 +118,10 @@ find %{buildroot} -type f -name "*.la" -delete %changelog +* Mon Nov 2 2020 Devrim Gunduz - 5.0.0-1 +- Update to 5.0.0 +- Remove patches, no longer needed. + * Tue Jul 28 2020 Fedora Release Engineering - 5.0.0-beta0_1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index edf4283..5a79c05 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (libspatialite-5.0.0-beta0.tar.gz) = 949424cf0ea402364f9a8ff5da0c03af924187874efc8ad37e355efb43c02ee9bcf81775ebee3d978d65ec915705072597a095d2a47cc2f09659e78e5e768c0a +SHA512 (libspatialite-5.0.0.tar.gz) = df72a3434d6e49f8836a9de2340f343a53f0673d0d17693cdb0f4971928b7c8bf40df44b21c0861945a9c81058e939acd1714b0b426ce9aa2ff7b0e8e6b196a7