|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: pgaudit
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 16.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: PostgreSQL Audit Extension
|
|
|
|
|
|
|
|
|
|
License: PostgreSQL
|
|
|
|
@ -9,10 +9,11 @@ URL: http://pgaudit.org
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: postgresql-server-devel >= 11, postgresql-server-devel <= 13
|
|
|
|
|
BuildRequires: libpq-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: postgresql-server-devel >= 16
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
|
|
|
|
|
%{?postgresql_module_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The PostgreSQL Audit extension (pgaudit) provides detailed session
|
|
|
|
@ -30,19 +31,14 @@ trail or audit log. The term audit log is used in this documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
set -ex
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
set -ex
|
|
|
|
|
%{__make} USE_PGXS=1 %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%make_build USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
set -ex
|
|
|
|
|
%{__make} USE_PGXS=1 %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
%make_install USE_PGXS=1 PG_CONFIG=/usr/bin/pg_server_config
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.md
|
|
|
|
@ -53,39 +49,8 @@ set -ex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 03 2021 Patrik Novotný <panovotn@redhat.com> - 1.4.0-5
|
|
|
|
|
- Fix build requires
|
|
|
|
|
|
|
|
|
|
* Wed Nov 20 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-4
|
|
|
|
|
- Bump release for rebuild against libpq-12.1-3
|
|
|
|
|
|
|
|
|
|
* Tue Nov 12 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-3
|
|
|
|
|
- BuildRequires libpq-devel
|
|
|
|
|
|
|
|
|
|
* Tue Nov 12 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-2
|
|
|
|
|
- BuildRequires postgresql-server-devel
|
|
|
|
|
|
|
|
|
|
* Wed Oct 02 2019 Patrik Novotný <panovotn@redhat.com> - 1.4.0-1
|
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Honza Horak <hhorak@redhat.com> - 1.3.1-1
|
|
|
|
|
- Update to 1.3.1 and apply patch for pgsql v12 compatibility
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Honza Horak <hhorak@redhat.com> - 1.2.0-4
|
|
|
|
|
- SCLize the SPEC
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 20 2017 - Filip Čáp <ficap@redhat.com> 1.2.0-1
|
|
|
|
|
- Initial RPM packaging for Fedora
|
|
|
|
|
- Based on Devrim Gündüz's packaging for PostgreSQL RPM Repo
|
|
|
|
|
|
|
|
|
|
* Thu Oct 27 2016 - Devrim Gündüz <devrim@gunduz.org> 1.0.0-1
|
|
|
|
|
- Update to 1.0.0
|
|
|
|
|
|
|
|
|
|
* Fri Oct 21 2016 - Devrim Gündüz <devrim@gunduz.org> 0.0.4-1
|
|
|
|
|
- Initial RPM packaging for PostgreSQL RPM Repository
|
|
|
|
|
* Fri Oct 13 2023 Filip Janus <fjanus@redhat.com> - 16.0-1
|
|
|
|
|
- Update to 16.0
|
|
|
|
|
- Support postgresql 16
|
|
|
|
|
- Initial import for PG 16 module
|
|
|
|
|
- Resolves: RHEL-3636
|
|
|
|
|