|
|
ea41a49 |
Name: pg_journal
|
|
|
ea41a49 |
Version: 0.2.0
|
|
|
4237026 |
Release: 13%{?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
|
|
|
ea41a49 |
|
|
|
ea41a49 |
BuildRequires: openssl-devel
|
|
|
ea41a49 |
BuildRequires: pkgconfig
|
|
|
b34ccee |
BuildRequires: postgresql-devel >= 9.4.0-1
|
|
|
ea41a49 |
BuildRequires: systemd-devel
|
|
|
2de66be |
Requires: postgresql-server(:MODULE_COMPAT_%{postgresql_major})
|
|
|
ea41a49 |
|
|
|
ea41a49 |
%description
|
|
|
ea41a49 |
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
|
|
|
ea41a49 |
make %{?_smp_mflags}
|
|
|
ea41a49 |
|
|
|
ea41a49 |
|
|
|
ea41a49 |
%install
|
|
|
ea41a49 |
make install DESTDIR=%{buildroot}
|
|
|
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
|
|
|
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
|