pkubat / rpms / pg_journal

Forked from rpms/pg_journal 5 years ago
Clone
ea41a49
Name:		pg_journal
ea41a49
Version:	0.2.0
5570d28
Release:	3%{?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
ea41a49
ea41a49
BuildRequires:	openssl-devel
ea41a49
BuildRequires:	pkgconfig
ea41a49
BuildRequires:	postgresql-devel >= 9.2.0-1
ea41a49
BuildRequires:	systemd-devel
ea41a49
Requires:	postgresql >= 9.2.0-1
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
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
5570d28
%doc doc/pg_journal.md LICENSE
ea41a49
ea41a49
ea41a49
%changelog
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