From c6c97c2af9cb2e2db7127db8b975cdce4a9a9722 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 16 Mar 2021 17:11:10 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/pg_repack.git#6a870b28d312b08cc2d72da8cc42833c802a8105 --- .gitignore | 2 ++ README.md | 3 ++ pg_repack.spec | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 81 insertions(+) create mode 100644 README.md create mode 100644 pg_repack.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..b02c20e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/ver_1.4.5.tar.gz +/ver_1.4.6.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..112fde5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# pg_repack + +PostgreSQL extension which lets you remove bloat from tables and indexes \ No newline at end of file diff --git a/pg_repack.spec b/pg_repack.spec new file mode 100644 index 0000000..8b713db --- /dev/null +++ b/pg_repack.spec @@ -0,0 +1,75 @@ +Name: pg_repack +Version: 1.4.6 +Release: 1%{?dist} +Summary: Reorganize tables in PostgreSQL databases without any locks + +License: BSD +URL: http://reorg.github.io/%{name}/ +Source0: https://github.com/reorg/%{name}/archive/ver_%{version}.tar.gz + +BuildRequires: make +BuildRequires: postgresql, gcc, openssl-devel, postgresql-server +BuildRequires: postgresql-libs, postgresql-devel +BuildRequires: readline-devel, zlib-devel, postgresql-static +BuildRequires: python3-docutils +BuildRequires: clang-devel +BuildRequires: llvm-devel +%{?postgresql_module_requires} + +%description +pg_repack is a PostgreSQL extension which lets you remove +bloat from tables and indexes, and optionally +restore the physical order of clustered indexes. +Unlike CLUSTER and VACUUM FULL it works online, +without holding an exclusive lock on the processed tables during processing. +pg_repack is efficient to boot, +with performance comparable to using CLUSTER directly. + +Please check the documentation (in the doc directory or online) +for installation and usage instructions. +%prep +%setup -n %{name}-ver_%{version} -q + + +%build + +make %{?_smp_mflags} +cd doc +make + + +%install +%make_install + +%files +%{_bindir}/%{name} +%{_libdir}/pgsql/%{name}.so +%{_libdir}/pgsql/bitcode/%{name}.index.bc +%{_libdir}/pgsql/bitcode/%{name}/pgut/pgut-spi.bc +%{_libdir}/pgsql/bitcode/%{name}/repack.bc +%{_datadir}/pgsql/extension/%{name}.control +%{_datadir}/pgsql/extension/%{name}--%{version}.sql + +%license COPYRIGHT + +%doc README.rst +%doc doc/%{name}.html +%doc doc/%{name}.rst +%doc doc/%{name}_jp.html +%doc doc/%{name}_jp.rst +%doc doc/release.html +%doc doc/release.rst + + +%changelog +* Thu Jan 14 2021 Patrik Novotný - 1.4.6-1 +- Rebase to upstream release 1.4.6 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Aug 21 2019 Filip Januš 1.4.5-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..8733357 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ver_1.4.6.tar.gz) = c36081847d09fbcec8a98ce97ae0f93a8fa686b81fa3915b616481cef88da0db398e7985b98a6e6d1b80cba7b08f6501de0e53edeb876eeb317417fe6ba7571d