Skip to content

Commit e738007

Browse files
tashiro-hisashihoriguti
authored andcommitted
Update SPEC file for PostgreSQL 17 support
Adjust the PostgreSQL version in the SPEC file as part of the PostgreSQL 17 support updates. (Issue #175)
1 parent 6d47583 commit e738007

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

spec/pg_statsinfo.spec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
# Original declaration for pg_statsinfo rpmbuild #
55

6-
%define _pgdir /usr/pgsql-16
6+
%define _pgdir /usr/pgsql-17
77
%define _bindir %{_pgdir}/bin
88
%define _libdir %{_pgdir}/lib
99
%define _datadir %{_pgdir}/share
1010

11-
%global packageversion 16
11+
%global packageversion 17
1212
%global tmpfilesconf spec/pg_statsinfo-tmpfiles.d.conf
1313

1414
## Set general information for pg_statsinfo.
@@ -23,7 +23,7 @@ Source0: %{name}-%{version}.tar.gz
2323
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
2424

2525
## We use postgresql-devel package
26-
BuildRequires: postgresql16-devel
26+
BuildRequires: postgresql17-devel
2727
%if %{rhel} == 7
2828
BuildRequires: llvm-toolset-7 llvm5.0
2929
%endif
@@ -39,7 +39,7 @@ pg_statsinfo monitors an instance of PostgreSQL server and gather
3939
the statistics and activities of the server as snapshots.
4040

4141
%package llvmjit
42-
Requires: postgresql16-llvmjit
42+
Requires: postgresql17-llvmjit
4343
Requires: pg_statsinfo = %{version}
4444
Summary: Just-in-time compilation support for pg_statsinfo
4545

@@ -134,6 +134,8 @@ fi
134134

135135
# History of pg_statsinfo-v15 RPM.
136136
%changelog
137+
* Wed Feb 19 2025 - NTT OSS Center 17.0-1
138+
- pg_stats_reporter 17.0 released
137139
* Thu Feb 29 2024 - NTT OSS Center 16.0-1
138140
- pg_stats_reporter 16.0 released
139141
* Wed Oct 18 2023 - NTT OSS Center 15.2-1

0 commit comments

Comments
 (0)