Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37709915
en ru br
ALT Linux repos
S:4.7.4-alt1

Group :: Databases
RPM: postgresql11-pg_partman

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: postgresql11-pg_partman-4.7.4-alt1.patch
Download


 .gear/rules                                        |   4 +
 .../tags/5063fb12170c4610718f7b5af37cda5e9f9e512d  |   6 ++
 .gear/tags/list                                    |   1 +
 Makefile                                           |   2 +-
 pg_partman.spec                                    | 120 +++++++++++++++++++++
 5 files changed, 132 insertions(+), 1 deletion(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..e15ac76
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,4 @@
+specsubst: pgver
+spec: pg_partman.spec
+tar: v@version@:.
+diff: v@version@:. .
diff --git a/.gear/tags/5063fb12170c4610718f7b5af37cda5e9f9e512d b/.gear/tags/5063fb12170c4610718f7b5af37cda5e9f9e512d
new file mode 100644
index 0000000..ced7180
--- /dev/null
+++ b/.gear/tags/5063fb12170c4610718f7b5af37cda5e9f9e512d
@@ -0,0 +1,6 @@
+object 2330063ad29a65d169b1947ac35705a237774fb6
+type commit
+tag v4.7.4
+tagger Keith Fiske <keith@keithf4.com> 1694204625 -0400
+
+version 4.7.4
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..7d6835d
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+5063fb12170c4610718f7b5af37cda5e9f9e512d v4.7.4
diff --git a/Makefile b/Makefile
index 36dec49..1c94840 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ EXTENSION = pg_partman
 EXTVERSION = $(shell grep default_version $(EXTENSION).control | \
                sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
 
-PG_CONFIG = pg_config
+PG_CONFIG = pg_server_config
 PG94 = $(shell $(PG_CONFIG) --version | egrep " 8\.| 9\.0| 9\.1| 9\.2| 9\.3" > /dev/null && echo no || echo yes)
 PG11 = $(shell $(PG_CONFIG) --version | egrep " 8\.| 9\.| 10\." > /dev/null && echo no || echo yes)
 
diff --git a/pg_partman.spec b/pg_partman.spec
new file mode 100644
index 0000000..ec584cc
--- /dev/null
+++ b/pg_partman.spec
@@ -0,0 +1,120 @@
+%define pg_ver @pgver@
+%def_with jit
+
+Name: postgresql%pg_ver-pg_partman
+Version: 4.7.4
+Release: alt1
+
+Summary: pg_partman is an extension to create and manage both time-based and serial-based table partition sets.
+License: PostgreSQL
+Group: Databases
+Url: https://badge.fury.io/pg/pg_partman
+
+Source: %name-%version.tar
+Patch0: %name-%version-%release.patch
+
+BuildRequires(pre): rpm-build-python3
+
+# Automatically added by buildreq on Sat May 18 2019
+# optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 python-base sh4
+BuildRequires: postgresql%pg_ver-server-devel
+
+Requires: postgresql%pg_ver-server
+
+%description
+pg_partman is an extension to create and manage both time-based and serial-based
+table partition sets. Native partitioning in PostgreSQL 10 is supported as of
+pg_partman v3.0.1 and much more extensively as of 4.0.0 along with
+PostgreSQL 11. Note that all the features of trigger-based partitioning
+are not yet supported in native, but performance in both reads & writes is
+significantly better.
+
+%prep
+%setup
+%patch0 -p1
+
+## py2 -> py3
+sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
+    $(find ./ -name '*.py')
+sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' \
+    $(find ./ -name '*.py')
+##
+
+%build
+%make
+
+%install
+%makeinstall_std
+
+%files
+%_bindir/*
+%_libdir/pgsql/pg_partman_bgw.so
+%if %pg_ver >= 11
+%if_with jit
+%_libdir/pgsql/bitcode/src/pg_partman_bgw*
+%endif
+%endif
+%_datadir/pgsql/extension/*
+%doc %_datadir/doc/postgresql/extension/*
+
+%changelog
+* Mon Sep 11 2023 Alexei Takaseev <taf@altlinux.org> 4.7.4-alt1
+- 4.7.4
+
+* Thu Mar 30 2023 Alexei Takaseev <taf@altlinux.org> 4.7.3-alt1
+- 4.7.3
+
+* Sat Dec 17 2022 Alexei Takaseev <taf@altlinux.org> 4.7.2-alt1
+- 4.7.2
+
+* Fri Oct 14 2022 Alexei Takaseev <taf@altlinux.org> 4.7.1-alt1
+- 4.7.1
+
+* Mon Sep 19 2022 Michael Shigorin <mike@altlinux.org> 4.7.0-alt2
+- add jit knob (on by default)
+
+* Mon Aug 15 2022 Alexei Takaseev <taf@altlinux.org> 4.7.0-alt1
+- 4.7.0
+
+* Mon May 16 2022 Alexei Takaseev <taf@altlinux.org> 4.6.2-alt1
+- 4.6.2
+
+* Mon Apr 18 2022 Alexei Takaseev <taf@altlinux.org> 4.6.1-alt1
+- 4.6.1
+- Packaged bitecode files for PG >= 11
+
+* Thu Jan 27 2022 Alexei Takaseev <taf@altlinux.org> 4.6.0-alt2
+- Change BR from postgresql-devel to postgresql%pg_ver-server-devel
+
+* Fri Oct 08 2021 Alexei Takaseev <taf@altlinux.org> 4.6.0-alt1
+- 4.6.0
+
+* Wed Sep 29 2021 Alexei Takaseev <taf@altlinux.org> 4.5.1-alt2
+- Rebuild with PostgreSQL 14
+
+* Fri Sep 03 2021 Alexei Takaseev <taf@altlinux.org> 4.5.1-alt1
+- 4.5.1
+
+* Thu Dec 24 2020 Alexei Takaseev <taf@altlinux.org> 4.4.1-alt1
+- 4.4.1
+
+* Mon Sep 28 2020 Alexei Takaseev <taf@altlinux.org> 4.4.0-alt2
+- Rebuild with PostgreSQL 13
+
+* Fri May 29 2020 Alexei Takaseev <taf@altlinux.org> 4.4.0-alt1
+- 4.4.0
+
+* Fri Feb 07 2020 Alexei Takaseev <taf@altlinux.org> 4.3.0-alt2
+- 4.3.0
+
+* Mon Dec 02 2019 Alexei Takaseev <taf@altlinux.org> 4.2.2-alt2
+- Build with python 3
+
+* Mon Oct 21 2019 Alexei Takaseev <taf@altlinux.org> 4.2.2-alt1
+- 4.2.2
+
+* Wed Oct 02 2019 Alexei Takaseev <taf@altlinux.org> 4.2.0-alt1
+- 4.2.0
+
+* Sat May 18 2019 Alexei Takaseev <taf@altlinux.org> 4.1.0-alt1
+- Initial build for ALT Linux
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin