commit 64a893077fd25a6fa7b762b85925240971c21ce4 Author: CentOS Sources Date: Wed Jun 23 19:32:11 2021 +0000 import pg_repack-1.4.6-3.module+el8.5.0+11354+78b3c9c5 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8a5445 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ver_1.4.6.tar.gz diff --git a/.pg_repack.metadata b/.pg_repack.metadata new file mode 100644 index 0000000..0113f20 --- /dev/null +++ b/.pg_repack.metadata @@ -0,0 +1 @@ +42d40c7ab5d72e65fa148a958f1d1cffec98ab46 SOURCES/ver_1.4.6.tar.gz diff --git a/SPECS/pg_repack.spec b/SPECS/pg_repack.spec new file mode 100644 index 0000000..7ddf73f --- /dev/null +++ b/SPECS/pg_repack.spec @@ -0,0 +1,79 @@ +Name: pg_repack +Version: 1.4.6 +Release: 3%{?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, postgresql-server-devel +BuildRequires: readline-devel, zlib-devel, postgresql-static +BuildRequires: python3-docutils +%{?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 +%if 0%{?postgresql_server_llvmjit} +%{_libdir}/pgsql/bitcode/%{name}.index.bc +%{_libdir}/pgsql/bitcode/%{name}/pgut/pgut-spi.bc +%{_libdir}/pgsql/bitcode/%{name}/repack.bc +%endif +%{_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 +* Wed May 26 2021 Filip Januš - 1.4.6-3 +- Release bump - enable gating + +* Mon May 24 2021 Filip Januš - 1.4.6-2 +- Rebuild +- Resolves:#1954442 + +* Thu Jan 14 2021 Patrik Novotný - 1.4.6-1 +- Rebase to upstream release 1.4.6 + +* 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