Compare commits
3 Commits
c9-beta-st
...
c9s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4166f67809 | ||
|
|
64656f66b1 | ||
|
|
f72971f015 |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
53
.gitignore
vendored
53
.gitignore
vendored
@ -1,2 +1,51 @@
|
||||
SOURCES/postgis-3.5.3-en.pdf
|
||||
SOURCES/postgis-3.5.3.tar.gz
|
||||
/postgis-2.5.3.tar.gz
|
||||
/postgis-3.0.0.pdf
|
||||
/postgis-3.0.0.tar.gz
|
||||
/postgis-3.0.1.tar.gz
|
||||
/postgis-3.0.1.pdf
|
||||
/postgis-2.5.4.tar.gz
|
||||
/postgis-3.0.2.pdf
|
||||
/postgis-3.0.2.tar.gz
|
||||
/postgis-2.5.5.tar.gz
|
||||
/postgis-3.0.3.tar.gz
|
||||
/postgis-3.0.3.pdf
|
||||
/postgis-3.1.0.pdf
|
||||
/postgis-3.1.0.tar.gz
|
||||
/postgis-3.1.1.tar.gz
|
||||
/postgis-3.1.1.pdf
|
||||
/postgis-3.1.2.tar.gz
|
||||
/postgis-3.1.2.pdf
|
||||
/postgis-3.1.3.pdf
|
||||
/postgis-3.1.3.tar.gz
|
||||
/postgis-3.1.4.pdf
|
||||
/postgis-3.1.4.tar.gz
|
||||
/postgis-3.2.0.pdf
|
||||
/postgis-3.2.0.tar.gz
|
||||
/postgis-3.2.1.pdf
|
||||
/postgis-3.2.1.tar.gz
|
||||
/postgis-3.2.2.tar.gz
|
||||
/postgis-3.2.2.pdf
|
||||
/postgis-3.3.1.tar.gz
|
||||
/postgis-3.3.1.pdf
|
||||
/postgis-3.3.2.tar.gz
|
||||
/postgis-3.3.2.pdf
|
||||
/postgis-3.3.3.pdf
|
||||
/postgis-3.3.3.tar.gz
|
||||
/postgis-3.3.4.pdf
|
||||
/postgis-3.3.4.tar.gz
|
||||
/postgis-3.4.0-en.pdf
|
||||
/postgis-3.4.0.tar.gz
|
||||
/postgis-3.4.1.tar.gz
|
||||
/postgis-3.4.1-en.pdf
|
||||
/postgis-3.4.2-en.pdf
|
||||
/postgis-3.4.2.tar.gz
|
||||
/postgis-3.4.3-en.pdf
|
||||
/postgis-3.4.3.tar.gz
|
||||
/postgis-3.5.0-en.pdf
|
||||
/postgis-3.5.0.tar.gz
|
||||
/postgis-3.5.1-en.pdf
|
||||
/postgis-3.5.1.tar.gz
|
||||
/postgis-3.5.2-en.pdf
|
||||
/postgis-3.5.2.tar.gz
|
||||
/postgis-3.5.3-en.pdf
|
||||
/postgis-3.5.3.tar.gz
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
2348bee25650f10bd0705071a999f34d403c2358 SOURCES/postgis-3.5.3-en.pdf
|
||||
38092e1182a717816c56c18d63f6ed455669f807 SOURCES/postgis-3.5.3.tar.gz
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
|
||||
8
plans/tier1-public.fmf
Normal file
8
plans/tier1-public.fmf
Normal file
@ -0,0 +1,8 @@
|
||||
summary: Public Tier1 tests plan
|
||||
discover:
|
||||
how: fmf
|
||||
filter: 'tier: 1'
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/postgis
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
17
postgis-c99-2.patch
Normal file
17
postgis-c99-2.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Include <math.h> for isnan. This avoids an implicit function
|
||||
declaration and a build failure with future compilers.
|
||||
|
||||
Submitted upstream: <https://github.com/postgis/postgis/pull/725>
|
||||
|
||||
diff -ur postgis-3.3.2.orig/loader/shp2pgsql-core.c postgis-3.3.2/loader/shp2pgsql-core.c
|
||||
--- postgis-3.3.2.orig/loader/shp2pgsql-core.c 2022-11-13 08:09:23.000000000 +0100
|
||||
+++ postgis-3.3.2/loader/shp2pgsql-core.c 2023-04-09 22:01:46.377934865 +0200
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include "../postgis_config.h"
|
||||
|
||||
+#include <math.h> /* for isnan */
|
||||
+
|
||||
#include "shp2pgsql-core.h"
|
||||
#include "../liblwgeom/liblwgeom.h"
|
||||
#include "../liblwgeom/lwgeom_log.h" /* for LWDEBUG macros */
|
||||
54
postgis-c99.patch
Normal file
54
postgis-c99.patch
Normal file
@ -0,0 +1,54 @@
|
||||
commit ae53a53246ccb26a6e82fede1a4184b41bcf097d
|
||||
Author: Regina Obe <lr@pcorp.us>
|
||||
Date: Sat Feb 19 00:21:01 2022 -0500
|
||||
|
||||
Fix PG 15 building atoi removed. References #5100 for PostGIS 3.3.0
|
||||
|
||||
diff -ur postgis-3.3.2.orig/postgis-2.5.5/postgis/gserialized_typmod.c postgis-3.3.2/postgis-2.5.5/postgis/gserialized_typmod.c
|
||||
--- postgis-3.3.2.orig/postgis-2.5.5/postgis/gserialized_typmod.c 2023-04-09 21:52:47.909294055 +0200
|
||||
+++ postgis-3.3.2/postgis-2.5.5/postgis/gserialized_typmod.c 2023-04-09 21:55:24.744826310 +0200
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "utils/elog.h"
|
||||
#include "utils/array.h"
|
||||
-#include "utils/builtins.h" /* for pg_atoi */
|
||||
+#include "utils/builtins.h" /* for cstring_to_text */
|
||||
#include "lib/stringinfo.h" /* For binary input */
|
||||
#include "catalog/pg_type.h" /* for CSTRINGOID */
|
||||
|
||||
@@ -267,8 +267,33 @@
|
||||
}
|
||||
if ( i == 1 ) /* SRID */
|
||||
{
|
||||
- int srid = pg_atoi(DatumGetCString(elem_values[i]),
|
||||
- sizeof(int32), '\0');
|
||||
+ char *int_string = DatumGetCString(elem_values[i]);
|
||||
+ char *endp;
|
||||
+ long l;
|
||||
+ int32_t srid;
|
||||
+
|
||||
+ errno = 0;
|
||||
+ l = strtol(int_string, &endp, 10);
|
||||
+
|
||||
+ if (int_string == endp)
|
||||
+ ereport(ERROR,
|
||||
+ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
+ errmsg("invalid input syntax for type %s: \"%s\"",
|
||||
+ "integer", int_string)));
|
||||
+
|
||||
+ if (errno == ERANGE || l < INT_MIN || l > INT_MAX)
|
||||
+ ereport(ERROR,
|
||||
+ (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
|
||||
+ errmsg("value \"%s\" is out of range for type %s", int_string,
|
||||
+ "integer")));
|
||||
+
|
||||
+ if (*endp != '\0')
|
||||
+ ereport(ERROR,
|
||||
+ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
+ errmsg("invalid input syntax for type %s: \"%s\"",
|
||||
+ "integer", int_string)));
|
||||
+
|
||||
+ srid = clamp_srid(l);
|
||||
srid = clamp_srid(srid);
|
||||
POSTGIS_DEBUGF(3, "srid: %d", srid);
|
||||
if ( srid != SRID_UNKNOWN )
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
Name: postgis
|
||||
Version: 3.5.3
|
||||
Release: 3%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Geographic Information Systems Extensions to PostgreSQL
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
@ -317,8 +317,15 @@ strip %{buildroot}/%{_libdir}/gcj/%{name}/*.jar.so
|
||||
%endif
|
||||
|
||||
%if %utils
|
||||
pushd utils
|
||||
install -d %{buildroot}%{_datadir}/%{name}
|
||||
install -m 755 utils/*.pl %{buildroot}%{_datadir}/%{name}
|
||||
install -m 755 create_*.pl repo_revision.pl \
|
||||
%{name}_restore.pl read_scripts_version.pl \
|
||||
%if 0%{?fedora}
|
||||
profile_intersects.pl test_*.pl \
|
||||
%endif
|
||||
%{buildroot}%{_datadir}/%{name}
|
||||
popd
|
||||
%endif
|
||||
|
||||
find %buildroot \( -name '*.la' -or -name '*.a' \) -delete
|
||||
@ -444,16 +451,19 @@ fi
|
||||
%doc utils/README
|
||||
%dir %{_datadir}/%{name}/
|
||||
%doc %{_datadir}/doc/pgsql/extension/README.address_standardizer
|
||||
%{_datadir}/%{name}/test_estimation.pl
|
||||
%{_datadir}/%{name}/profile_intersects.pl
|
||||
%{_datadir}/%{name}/test_joinestimation.pl
|
||||
%{_datadir}/%{name}/create_extension_unpackage.pl
|
||||
%{_datadir}/%{name}/%{name}_restore.pl
|
||||
%{_datadir}/%{name}/read_scripts_version.pl
|
||||
%{_datadir}/%{name}/test_geography_estimation.pl
|
||||
%{_datadir}/%{name}/test_geography_joinestimation.pl
|
||||
%{_datadir}/%{name}/create_or_replace_to_create.pl
|
||||
%{_datadir}/%{name}/create_upgrade.pl
|
||||
%{_datadir}/%{name}/%{name}_restore.pl
|
||||
%{_datadir}/%{name}/read_scripts_version.pl
|
||||
%if 0%{?fedora}
|
||||
# requires perl(Pg)
|
||||
%{_datadir}/%{name}/profile_intersects.pl
|
||||
%{_datadir}/%{name}/test_estimation.pl
|
||||
%{_datadir}/%{name}/test_geography_estimation.pl
|
||||
%{_datadir}/%{name}/test_geography_joinestimation.pl
|
||||
%{_datadir}/%{name}/test_joinestimation.pl
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
@ -462,6 +472,13 @@ fi
|
||||
|
||||
|
||||
%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 Jul 29 2025 Sandro Mani <manisandro@gmail.com> - 3.5.3-3
|
||||
- Rebuild (gdal)
|
||||
|
||||
3227
postgis2-proj8.patch
Normal file
3227
postgis2-proj8.patch
Normal file
File diff suppressed because it is too large
Load Diff
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (postgis-3.5.3-en.pdf) = 69e162ea657a3bce2fb139ebeb9bd212ac646cb83027345eab9677609160a365d3ecdaa2995eb494054fc4667016a069afdbdbbd1cc56ff407fac05fd8306fa0
|
||||
SHA512 (postgis-3.5.3.tar.gz) = c27f57f0dbf3938648fe16dcaaff28530de6a51c13c481cb78163a51a292f3d77620485cd31e79cd01be675b5dca97129c50c562f68d6d864c822ea7359d754f
|
||||
Loading…
Reference in New Issue
Block a user