diff --git a/.gitignore b/.gitignore index 8d2a1e5..2ab4fa1 100755 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,6 @@ /2.14.0.tar.gz /2.14.1.tar.gz /2.14.2.tar.gz +/2.15.2.tar.gz +/2.15.3.tar.gz +/2.16.0.tar.gz diff --git a/sources b/sources index 7cf38da..f6ec9b4 100755 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (2.10.3.tar.gz) = c94227d9aa1df36634bbf2626f580165860cab543efbfeb448f9799cf70ef6c1891af0077c2280ae22dbfb2360cf2b6012e7f05c26b0cf7aef6eb217c583b444 +SHA512 (2.16.0.tar.gz) = 1476f0d3cbc5881911d5126799e28a5fda9c2e762ab8d0470e4c6d7dc715b099b2899b1f5dcb6d31c6cebf97a82007c1d18340e83fff8c9f72523574eb690732 diff --git a/timescaledb-upgrade.env b/timescaledb-upgrade.env deleted file mode 100644 index b2bcc3a..0000000 --- a/timescaledb-upgrade.env +++ /dev/null @@ -1 +0,0 @@ -export PGSETUP_PGUPGRADE_OPTIONS="${PGSETUP_PGUPGRADE_OPTIONS} -O '-c shared_preload_libraries=timescaledb'" diff --git a/timescaledb.spec b/timescaledb.spec index c512d01..2b45ac6 100644 --- a/timescaledb.spec +++ b/timescaledb.spec @@ -1,21 +1,15 @@ %global core_name timescale -%if 0%{?fedora} >= 30 || 0%{?epel} >= 8 -%global pg_config pg_server_config -%else -%global pg_config pg_config -%endif Name: %{core_name}db -Version: 2.10.3 -Release: 1%{?dist} +Version: 2.16.0 +Release: 3%{?dist} Summary: Open-source time-series database powered by PostgreSQL License: Apache-2.0 URL: http://www.%{core_name}.com Source0: https://github.com/%{core_name}/%{name}/archive/refs/tags/%{version}.tar.gz -Source1: timescaledb-upgrade.env -BuildRequires: cmake gcc openssl-devel postgresql-server-devel postgresql-upgrade-devel +BuildRequires: cmake gcc openssl-devel postgresql-server-devel Requires(pre): postgresql-server @@ -26,23 +20,6 @@ partitioning across time and space (partitioning key), as well as full SQL support. -%package upgrade -Summary: Support for upgrading from a previous major release of PostgreSQL -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description upgrade -This package contains the files needed for upgrading a PostgreSQL database from -the previous major version of PostgreSQL. - -Note that since pg_upgrade starts the updated server with a default config file, -you need to set: - PGSETUP_PGUPGRADE_OPTIONS="-O '-c shared_preload_libraries=timescaledb'" -before running postgresql-setup --upgrade. -This package sets it for you at login time, but if you don't want to login again -you can run: - source %{_sysconfdir}/profile.d/%{name}-upgrade.sh - - %prep %autosetup -n %{name}-%{version} # Remove tsl directory containing sources licensed under Timescale license @@ -50,21 +27,16 @@ rm -rf tsl %build -%cmake -DPROJECT_INSTALL_METHOD=fedora -DREGRESS_CHECKS=OFF -DAPACHE_ONLY=1 -DPG_CONFIG=%_bindir/%pg_config +%if 0%{?fedora} >= 30 || 0%{?epel} >= 8 +%cmake -DPROJECT_INSTALL_METHOD=fedora -DREGRESS_CHECKS=OFF -DAPACHE_ONLY=1 -DPG_CONFIG=%_bindir/pg_server_config +%else +%cmake -DPROJECT_INSTALL_METHOD=fedora -DREGRESS_CHECKS=OFF -DAPACHE_ONLY=1 -DPG_CONFIG=%_bindir/pg_config +%endif %cmake_build -# Build for the previous PG verison for in-place upgrades -pg_config=$(ls /usr/lib64/pgsql/postgresql-*/bin/pg_config) -%cmake -DPROJECT_INSTALL_METHOD=fedora -DREGRESS_CHECKS=OFF -DAPACHE_ONLY=1 \ - -B %{__cmake_builddir}-prev \ - -DPG_CONFIG=${pg_config} -%{__cmake} --build %{__cmake_builddir}-prev %{?_smp_mflags} --verbose - %install %cmake_install -DESTDIR="%{buildroot}" %{__cmake} --install %{__cmake_builddir}-prev -install -p -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/%{name}-upgrade.sh %files @@ -75,20 +47,25 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/%{name}-upg %{_datadir}/pgsql/extension/%{name}--*%{version}.sql %{_datadir}/pgsql/extension/%{name}.control -%files upgrade -%license LICENSE-APACHE -%doc README.md -%{_libdir}/pgsql/postgresql-*/lib/%{name}-%{version}.so -%{_libdir}/pgsql/postgresql-*/lib/%{name}.so -%{_libdir}/pgsql/postgresql-*/share/extension/%{name}--*%{version}.sql -%{_libdir}/pgsql/postgresql-*/share/extension/%{name}.control -%{_sysconfdir}/profile.d/%{name}-upgrade.sh - %changelog -* Tue May 14 2024 Aurelien Bompard - 2.10.3-1 -- Support in-place upgrades of PostgreSQL major versions -- Revert to version 2.10.3 to support upgrades from PostgreSQL 12 +* Fri Jul 25 2025 Fedora Release Engineering - 2.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 2.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sun Aug 04 2024 Ondrej Sloup - 2.16.0-1 +- Rebase to the latest upstream version (rhbz#2302504) + +* Sat Jul 20 2024 Fedora Release Engineering - 2.15.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jul 10 2024 Ondrej Sloup - 2.15.3-1 +- Rebase to the latest upstream version (rhbz#2295739) + +* Mon Jun 10 2024 Ondrej Sloup - 2.15.2-1 +- Rebase to the latest upstream version (rhbz#2283808) * Wed Feb 28 2024 Ondrej Sloup - 2.14.2-1 - Rebase to the latest upstream version (rhbz#2265335)