pkubat / rpms / pg_journal

Forked from rpms/pg_journal 5 years ago
Clone
ea41a49
Name:		pg_journal
ea41a49
Version:	0.2.0
064bf2a
Release:	23%{?dist}
ea41a49
Summary:	Module for sending log messages directly to the systemd journal
ea41a49
ea41a49
License:	PostgreSQL
ea41a49
URL:		https://github.com/intgr/pg_journal
ea41a49
Source0:	https://github.com/downloads/intgr/%{name}/%{name}-%{version}.tar.gz
3ccb265
# https://github.com/intgr/pg_journal/issues/1
3ccb265
Patch0:		pg_journal-0001-rhbz1337710-out_of_memory_fix.patch
ac8d241
# https://github.com/intgr/pg_journal/pull/2
ac8d241
Patch1:		pg_journal-0002-Makefile-libsystemd-journal-is-no-more.patch
ea41a49
8c1f477
BuildRequires:	gcc
ea41a49
BuildRequires:	openssl-devel
ea41a49
BuildRequires:	pkgconfig
8580b3d
BuildRequires:	postgresql-server-devel
ea41a49
BuildRequires:	systemd-devel
8580b3d
8580b3d
%{?postgresql_module_requires}
ea41a49
ea41a49
%description
ac8d241
This is a PostgreSQL preload module for
ea41a49
sending log messages directly to the systemd journal log.
ea41a49
ea41a49
%prep
ea41a49
%setup -q
3ccb265
%autopatch -p1
ea41a49
ea41a49
ea41a49
%build
ea41a49
# build will pick up whatever compiler flags were used to build PostgreSQL
8580b3d
%make_build PG_CONFIG=%_bindir/pg_server_config
ea41a49
ea41a49
ea41a49
%install
8580b3d
%make_install PG_CONFIG=%_bindir/pg_server_config
ea41a49
# installed in wrong location
ea41a49
rm %{buildroot}%{_defaultdocdir}/pgsql/contrib/pg_journal.md
ea41a49
ea41a49
ea41a49
%files
ea41a49
%{_libdir}/pgsql/pg_journal.so
b34ccee
%doc doc/pg_journal.md
b34ccee
%license LICENSE
ea41a49
ea41a49
ea41a49
%changelog
064bf2a
* Thu Oct 18 2018 Petr Kubat <pkubat@redhat.com> - 0.2.0-23
064bf2a
- rebuild for PostgreSQL 11
064bf2a
8580b3d
* Wed Sep 05 2018 Pavel Raiskup <praiskup@redhat.com> - 0.2.0-22
8580b3d
- rebuild against postgresql-server-devel (rhbz#1618698)
8580b3d
2cca708
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-21
2cca708
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2cca708
8ee0134
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-20
8ee0134
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8ee0134
ac8d241
* Tue Nov 28 2017 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.2.0-19
ac8d241
* fix underlinking with libsystemd (rhbz#1513830)
ac8d241
b04cd7f
* Sat Oct 07 2017 Pavel Raiskup <praiskup@redhat.com> - 0.2.0-18
b04cd7f
- rebuild for PostgreSQL 10
b04cd7f
871eb35
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-17
871eb35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
871eb35
7cd32f8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-16
7cd32f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7cd32f8
fd73dc4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-15
fd73dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fd73dc4
9d81d64
* Mon Oct 10 2016 Pavel Raiskup <praiskup@redhat.com> - 0.2.0-14
9d81d64
- bump: build in rawhide done too early
9d81d64
4237026
* Fri Oct 07 2016 Petr Kubat <pkubat@redhat.com> - 0.2.0-13
4237026
- Rebuild for PostgreSQL 9.6.0
4237026
3ccb265
* Tue May 24 2016 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.2.0-12
3ccb265
- include patch from Ed Behn, fixing startup failure (rhbz#1337710)
3ccb265
62deec0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-11
62deec0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
62deec0
Pavel Kajaba f45c394
* Fri Jan 08 2016 Pavel Kajaba <pkajaba@redhat.com> - 0.2.0-10
Pavel Kajaba f45c394
- Rebuild for PostgreSQL 9.5 (rhbz#1296584)
Pavel Kajaba f45c394
5b53d01
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-9
5b53d01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5b53d01
2de66be
* Mon Jan 12 2015 Pavel Raiskup <praiskup@redhat.com> - 0.2.0-8
2de66be
- add guarding runtime MODULE_COMPAT requirement
2de66be
b34ccee
* Thu Jan 08 2015 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.2.0-7
b34ccee
- rebuild for PostgreSQL 9.4
b34ccee
d7e9435
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-6
d7e9435
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d7e9435
855945d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-5
855945d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
855945d
4f415e9
* Fri Sep 13 2013 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.2.0-4
4f415e9
- rebuild for PostgreSQL 9.3 (#1007850)
4f415e9
5570d28
* Fri Aug 09 2013 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.2.0-3
5570d28
- include LICENSE file in package
5570d28
162dee1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
162dee1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
162dee1
ea41a49
* Fri May 17 2013 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.2.0-1
ea41a49
- new upstream release:
ea41a49
  Changelog:
ea41a49
  * `SYSLOG_IDENTIFIER` is now set from the `syslog_ident` GUC variable, rather
ea41a49
     than process title, which changes. Makes journalctl output prettier.
ea41a49
  * Fix build with PostgreSQL 9.3 and later.
ea41a49
  * Add new fields SCHEMA, TABLE, COLUMN, DATATYPE, CONSTRAINT, introduced in
ea41a49
    PostgreSQL 9.3.
ea41a49
ea41a49
* Sat Oct 13 2012 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.1.1-2
ea41a49
- address review issues:
ea41a49
  - Buildreq: systemd-devel, pkgconfig
ea41a49
  - require PostgreSQL (ver 9.2.0 or later) for libdir/pgsql directory
ea41a49
  - use name macro in Source0
ea41a49
  - drop defattr
ea41a49
ea41a49
* Wed Sep 12 2012 Tomasz Torcz <ttorcz@fedoraproject.org> - 0.1.1-1
ea41a49
- initial package