diff --git a/libspatialite.spec b/libspatialite.spec index 35846bf..cfeb1c3 100644 --- a/libspatialite.spec +++ b/libspatialite.spec @@ -40,12 +40,15 @@ Name: libspatialite Version: 5.0.1 -Release: 2%{?dist} +Release: 3%{?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}.tar.gz +# Move private libs to Libs.private in pkg-config file (#1926868) +Patch0: libspatialite_pkgconfig.patch + BuildRequires: make BuildRequires: autoconf BuildRequires: freexl-devel @@ -132,6 +135,9 @@ find %{buildroot} -type f -name "*.la" -delete %changelog +* Wed Feb 10 2021 Sandro Mani - 5.0.1-2 +- Move private libs to Libs.private in pkg-config file (#1926868) + * Tue Feb 09 2021 Miro HronĨok - 5.0.1-2 - Rebuilt for minizip 3.0.0 diff --git a/libspatialite_pkgconfig.patch b/libspatialite_pkgconfig.patch new file mode 100644 index 0000000..149c126 --- /dev/null +++ b/libspatialite_pkgconfig.patch @@ -0,0 +1,11 @@ +diff -rupN libspatialite-5.0.1/spatialite.pc.in libspatialite-5.0.1-new/spatialite.pc.in +--- libspatialite-5.0.1/spatialite.pc.in 2021-02-07 16:53:46.000000000 +0100 ++++ libspatialite-5.0.1-new/spatialite.pc.in 2021-02-10 09:54:09.647552994 +0100 +@@ -8,5 +8,6 @@ includedir=@includedir@ + Name: spatialite + Description: Spatial SQL database engine based on SQLite + Version: @VERSION@ +-Libs: -L${libdir} -lspatialite @LIBS@ @LIBXML2_LIBS@ -lm ++Libs.private: -L${libdir} @LIBS@ @LIBXML2_LIBS@ -lm ++Libs: -L${libdir} -lspatialite + Cflags: -I${includedir}