| |
@@ -10,7 +10,7 @@
|
| |
|
| |
Name: pgbouncer
|
| |
Version: 1.12.0
|
| |
- Release: 2%{?dist}
|
| |
+ Release: 3%{?dist}
|
| |
Summary: Lightweight connection pooler for PostgreSQL
|
| |
License: MIT and BSD
|
| |
URL: https://pgbouncer.github.io/
|
| |
@@ -19,10 +19,12 @@
|
| |
Source2: %{name}.sysconfig
|
| |
Source3: %{name}.logrotate
|
| |
Source4: %{name}.service
|
| |
+ Source5: %{name}.pam
|
| |
Patch0: %{name}-ini.patch
|
| |
Patch1: %{name}-1.10.0-python3.patch
|
| |
|
| |
BuildRequires: gcc
|
| |
+ BuildRequires: pam-devel
|
| |
BuildRequires: libevent-devel >= 2.0 openssl-devel
|
| |
|
| |
%if %{systemd_enabled}
|
| |
@@ -69,6 +71,10 @@
|
| |
%{__install} -p -m 644 etc/pgbouncer.ini %{buildroot}%{_sysconfdir}/%{name}
|
| |
%{__install} -p -m 700 etc/mkauth.py %{buildroot}%{_sysconfdir}/%{name}/
|
| |
|
| |
+ # Install pam configuration file
|
| |
+ %{__mkdir} -p %{buildroot}%{_sysconfdir}/pam.d
|
| |
+ %{__install} -p -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/pam.d/%{name}
|
| |
+
|
| |
%if %{systemd_enabled}
|
| |
%{__install} -d %{buildroot}%{_unitdir}
|
| |
%{__install} -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
|
| |
@@ -151,8 +157,12 @@
|
| |
%{_mandir}/man1/%{name}.*
|
| |
%{_mandir}/man5/%{name}.*
|
| |
%{_sysconfdir}/%{name}/mkauth.py*
|
| |
+ %{_sysconfdir}/pam.d/%{name}
|
| |
|
| |
%changelog
|
| |
+ * Fri Feb 14 2020 Aaron Burnett <mullein@adelie.io> - 1.12.0-3
|
| |
+ - Fixes bug #1801301
|
| |
+
|
| |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
|
| |