- Add memcached support

- Add OpenSSL support
- remove white spaces on end of lines in spec file
This commit is contained in:
Jozef Mlich 2015-07-27 19:55:31 +02:00
commit 96e32bacb1

View file

@ -10,7 +10,7 @@
Summary: Pgpool is a connection pooling/replication server for PostgreSQL
Name: postgresql-%{short_name}
Version: 3.4.3
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
Group: Applications/Databases
URL: http://pgpool.net
@ -18,7 +18,7 @@ Source0: http://www.pgpool.net/mediawiki/images/%{short_name}-%{version}.tar.gz
Source1: pgpool.service
Source2: pgpool.sysconfig
Source3: pgpool.init
BuildRequires: postgresql-devel pam-devel
BuildRequires: postgresql-devel, pam-devel, libmemcached-devel, openssl-devel
%if %{systemd_enabled}
BuildRequires: systemd
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
@ -38,22 +38,22 @@ Provides: postgresql-pgpool = 3.4.3
Obsoletes: postgresql-pgpool <= 3.4.2
%description
pgpool-II is a inherited project of pgpool (to classify from
pgpool-II, it is sometimes called as pgpool-I). For those of
you not familiar with pgpool-I, it is a multi-functional
middle ware for PostgreSQL that features connection pooling,
replication and load balancing functions. pgpool-I allows a
user to connect at most two PostgreSQL servers for higher
availability or for higher search performance compared to a
pgpool-II is a inherited project of pgpool (to classify from
pgpool-II, it is sometimes called as pgpool-I). For those of
you not familiar with pgpool-I, it is a multi-functional
middle ware for PostgreSQL that features connection pooling,
replication and load balancing functions. pgpool-I allows a
user to connect at most two PostgreSQL servers for higher
availability or for higher search performance compared to a
single PostgreSQL server.
pgpool-II, on the other hand, allows multiple PostgreSQL
servers (DB nodes) to be connected, which enables queries
to be executed simultaneously on all servers. In other words,
it enables "parallel query" processing. Also, pgpool-II can
be started as pgpool-I by changing configuration parameters.
pgpool-II that is executed in pgpool-I mode enables multiple
DB nodes to be connected, which was not possible in pgpool-I.
pgpool-II, on the other hand, allows multiple PostgreSQL
servers (DB nodes) to be connected, which enables queries
to be executed simultaneously on all servers. In other words,
it enables "parallel query" processing. Also, pgpool-II can
be started as pgpool-I by changing configuration parameters.
pgpool-II that is executed in pgpool-I mode enables multiple
DB nodes to be connected, which was not possible in pgpool-I.
%package devel
Summary: The development files for pgpool-II
@ -84,6 +84,8 @@ Postgresql extensions libraries and sql files for pgpool-II.
--with-pgsql=%{_libdir}/pgsql \
--disable-static \
--with-pam \
--with-openssl \
--with-memcached=%{_includedir}/libmemcached \
--sysconfdir=%{_sysconfdir}/%{short_name}/
# https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
@ -129,7 +131,7 @@ install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/pgpool
# nuke libtool archive and static lib
rm -f %{buildroot}%{_libdir}/libpcp.{a,la}
%post
%post
/sbin/ldconfig
%if %{systemd_enabled}
%systemd_post pgpool.service
@ -191,7 +193,7 @@ fi
%dir %{_datadir}/%{short_name}
%{_datadir}/%{short_name}/insert_lock.sql
%{_datadir}/%{short_name}/system_db.sql
%{_datadir}/%{short_name}/pgpool.conf.sample-master-slave
%{_datadir}/%{short_name}/pgpool.conf.sample-master-slave
%{_datadir}/%{short_name}/pgpool.conf.sample-replication
%{_datadir}/%{short_name}/pgpool.conf.sample-stream
%{_libdir}/libpcp.so.*
@ -228,6 +230,11 @@ fi
%changelog
* Mon Jul 27 2015 Jozef MLich <imlich@fit.vutbr.cz> - 3.4.3-2
- Add memcached support
- Add OpenSSL support
- remove white spaces on end of lines in spec file
* Fri Jul 24 2015 Jozef Mlich <imlich@fit.vutbr.cz> - 3.4.3-1
- Update to 3.4.3
see http://www.pgpool.net/docs/pgpool-II-3.4.2/NEWS.txt
@ -247,7 +254,7 @@ fi
requires postgresql-server(:MODULE_COMPAT_9.3)
* Mon Dec 15 2014 Jozef Mlich <jmlich@redhat.com> - 3.4.0-5
- incorrect permissions on init script.
- incorrect permissions on init script.
* Thu Dec 11 2014 Jozef Mlich <jmlich@redhat.com> - 3.4.0-4
- incorrect epoch in obsoletes of recovery subpackage