Compare commits
No commits in common. "c9s" and "stream-postgresql-18-rhel-9.8.0" have entirely different histories.
c9s
...
stream-pos
@ -1 +0,0 @@
|
||||
1
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -49,3 +49,4 @@
|
||||
/postgis-3.5.2.tar.gz
|
||||
/postgis-3.5.3-en.pdf
|
||||
/postgis-3.5.3.tar.gz
|
||||
/postgis-3.6.1.tar.gz
|
||||
|
||||
47
postgis.spec
47
postgis.spec
@ -5,27 +5,29 @@
|
||||
%{!?upgrade_prev:%global upgrade_prev 0}
|
||||
%{!?runselftest:%global runselftest 1}
|
||||
%{!?llvmjit:%global llvmjit 0}
|
||||
%{!?raster:%global raster 0}
|
||||
|
||||
%global __requires_exclude ^perl\\(Pg\\)$
|
||||
|
||||
%global majorversion 3.5
|
||||
%global majorversion 3.6
|
||||
%global soversion 3
|
||||
%global prevmajorversion 2.5
|
||||
%global prevversion %{prevmajorversion}.5
|
||||
%global so_files postgis postgis_topology rtpostgis
|
||||
%global configure_opts --disable-rpath --enable-raster
|
||||
%if ! %raster
|
||||
%global configure_opts --disable-rpath --enable-raster --without-raster
|
||||
%endif
|
||||
|
||||
%global __provides_exclude_from %{_libdir}/pgsql
|
||||
|
||||
Name: postgis
|
||||
Version: 3.5.3
|
||||
Release: 5%{?dist}
|
||||
Version: 3.6.1
|
||||
Release: 2%{?dist}
|
||||
Summary: Geographic Information Systems Extensions to PostgreSQL
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: https://www.postgis.net
|
||||
Source0: https://download.osgeo.org/%{name}/source/%{name}-%{version}.tar.gz
|
||||
Source2: https://download.osgeo.org/%{name}/docs/%{name}-%{version}-en.pdf
|
||||
%if %upgrade_prev
|
||||
Source3: https://download.osgeo.org/%{name}/source/%{name}-%{prevversion}.tar.gz
|
||||
|
||||
@ -61,7 +63,8 @@ BuildRequires: perl-generators
|
||||
BuildRequires: postgresql-server-devel
|
||||
BuildRequires: proj-devel >= 5.2.0
|
||||
BuildRequires: protobuf-c-devel
|
||||
|
||||
BuildRequires: CUnit-devel
|
||||
BuildRequires: perl-Time-HiRes
|
||||
%if %upgrade
|
||||
BuildRequires: postgresql-upgrade-devel
|
||||
%endif
|
||||
@ -189,7 +192,6 @@ cd %{name}-%{prevversion}
|
||||
%endif
|
||||
)
|
||||
%endif
|
||||
cp -p %{SOURCE2} .
|
||||
|
||||
|
||||
%build
|
||||
@ -208,7 +210,7 @@ sed -i 's| -fstack-clash-protection | |' topology/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
%make_build
|
||||
%make_build -j1
|
||||
|
||||
%if %javabuild
|
||||
export BUILDXML_DIR=%{_builddir}/%{name}-%{version}/java/jdbc
|
||||
@ -243,7 +245,7 @@ sed -i 's| -fstack-clash-protection | |' postgis/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' topology/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
|
||||
%make_build
|
||||
%make_build -j1
|
||||
)
|
||||
|
||||
%if %upgrade_prev
|
||||
@ -256,7 +258,7 @@ sed -i 's| -fstack-clash-protection | |' postgis/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' topology/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
|
||||
%make_build
|
||||
%make_build -j1
|
||||
mkdir ../compat-build
|
||||
for so in %so_files; do
|
||||
find -name $so.so -exec cp {} ../compat-build/$so-%{prevmajorversion}.so \;
|
||||
@ -275,7 +277,7 @@ sed -i 's| -fstack-clash-protection | |' postgis/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' topology/Makefile
|
||||
sed -i 's| -fstack-clash-protection | |' extensions/address_standardizer/Makefile
|
||||
%make_build
|
||||
%make_build -j1
|
||||
)
|
||||
%endif
|
||||
%endif
|
||||
@ -336,6 +338,9 @@ find %buildroot \( -name '*.la' -or -name '*.a' \) -delete
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/shp2pgsql-gui.desktop
|
||||
%endif
|
||||
%if %runselftest
|
||||
%ifnarch i686
|
||||
# tests are broken on i686 and this arch is not supported
|
||||
# especially the combination of GEOS 3.12 and postgresql 18 causes troubles
|
||||
%postgresql_tests_run
|
||||
export PGIS_REG_TMPDIR=`mktemp -d`
|
||||
if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then
|
||||
@ -345,6 +350,7 @@ if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then
|
||||
done
|
||||
fi
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%if %javabuild
|
||||
@ -364,13 +370,17 @@ fi
|
||||
%{_datadir}/pgsql/extension/address_standardizer*.sql
|
||||
%{_datadir}/pgsql/extension/address_standardizer*.control
|
||||
%{_datadir}/pgsql/extension/postgis-*.sql
|
||||
%if %raster
|
||||
%{_datadir}/pgsql/extension/postgis_raster*.sql
|
||||
%endif
|
||||
%if 0%{?fedora}
|
||||
%{_datadir}/pgsql/extension/postgis_sfcgal*.sql
|
||||
%endif
|
||||
%{_datadir}/pgsql/extension/postgis_topology*.sql
|
||||
%{_datadir}/pgsql/extension/postgis.control
|
||||
%if %raster
|
||||
%{_datadir}/pgsql/extension/postgis_raster.control
|
||||
%endif
|
||||
%if 0%{?fedora}
|
||||
%{_datadir}/pgsql/extension/postgis_sfcgal.control
|
||||
%endif
|
||||
@ -383,7 +393,9 @@ fi
|
||||
%{_datadir}/postgis/create_uninstall.pl
|
||||
%{_datadir}/postgis/repo_revision.pl
|
||||
%{_libdir}/pgsql/address_standardizer-%{soversion}.so
|
||||
%if %raster
|
||||
%{_libdir}/pgsql/postgis_raster-%{soversion}.so
|
||||
%endif
|
||||
%if 0%{?fedora}
|
||||
%{_libdir}/pgsql/postgis_sfcgal-%{soversion}.so
|
||||
%endif
|
||||
@ -393,7 +405,9 @@ fi
|
||||
%{_bindir}/postgis
|
||||
%{_bindir}/postgis_restore
|
||||
%{_bindir}/pgsql2shp
|
||||
%if %raster
|
||||
%{_bindir}/raster2pgsql
|
||||
%endif
|
||||
%{_bindir}/shp2pgsql
|
||||
%{_bindir}/pgtopo_export
|
||||
%{_bindir}/pgtopo_import
|
||||
@ -468,16 +482,13 @@ fi
|
||||
|
||||
|
||||
%files docs
|
||||
%doc postgis*.pdf
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 18 2025 Nikola Davidova <ndavidov@redhat.com> - 3.5.3-5
|
||||
- Rebuild for adding tmt metadata
|
||||
|
||||
* Wed Nov 12 2025 Nikola Davidova <ndavidov@redhat.com> - 3.5.3-4
|
||||
- Avoid perl(Pg) dependency on RHEL,
|
||||
from the Fedora spec change from yselkowi@redhat.com
|
||||
* Tue Nov 18 2025 Filip Janus <fjanus@redhat.com> - 3.6.1-1
|
||||
- Update to 3.6.1
|
||||
- Initial import for postgresql18
|
||||
- Avoid perl(Pg) dependency on RHEL
|
||||
|
||||
* Tue Jul 29 2025 Sandro Mani <manisandro@gmail.com> - 3.5.3-3
|
||||
- Rebuild (gdal)
|
||||
|
||||
3
sources
3
sources
@ -1,2 +1 @@
|
||||
SHA512 (postgis-3.5.3-en.pdf) = 69e162ea657a3bce2fb139ebeb9bd212ac646cb83027345eab9677609160a365d3ecdaa2995eb494054fc4667016a069afdbdbbd1cc56ff407fac05fd8306fa0
|
||||
SHA512 (postgis-3.5.3.tar.gz) = c27f57f0dbf3938648fe16dcaaff28530de6a51c13c481cb78163a51a292f3d77620485cd31e79cd01be675b5dca97129c50c562f68d6d864c822ea7359d754f
|
||||
SHA512 (postgis-3.6.1.tar.gz) = 99a4f3bed398d0b29ac472f5631fe968ef0a4289c6e29b2226c9102b14f13d77c254b5ec53d74b5f831b093206ea8768f61de0dc2f5c00bc3d0c6170b253a24b
|
||||
|
||||
Loading…
Reference in New Issue
Block a user