rpms/postgresql/F-8 postgresql.spec,1.85,1.86
Tom Lane (tgl)
fedora-extras-commits at redhat.com
Mon Jan 7 20:03:46 UTC 2008
Author: tgl
Update of /cvs/pkgs/rpms/postgresql/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2742
Modified Files:
postgresql.spec
Log Message:
Make initscript and pam config files be installed unconditionally
Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/F-8/postgresql.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- postgresql.spec 7 Jan 2008 19:15:27 -0000 1.85
+++ postgresql.spec 7 Jan 2008 20:03:09 -0000 1.86
@@ -503,19 +503,13 @@
cp Pgtcl/libpgtcl*.so $RPM_BUILD_ROOT%{_libdir}/Pgtcl
%endif
-if [ -d /etc/rc.d/init.d ]
-then
- install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
- sed 's/^PGVERSION=.*$/PGVERSION=%{version}/' <%{SOURCE3} >postgresql.init
- install -m 755 postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
-fi
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+sed 's/^PGVERSION=.*$/PGVERSION=%{version}/' <%{SOURCE3} >postgresql.init
+install -m 755 postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
%if %pam
-if [ -d /etc/pam.d ]
-then
- install -d $RPM_BUILD_ROOT/etc/pam.d
- install -m 644 %{SOURCE14} $RPM_BUILD_ROOT/etc/pam.d/postgresql
-fi
+install -d $RPM_BUILD_ROOT/etc/pam.d
+install -m 644 %{SOURCE14} $RPM_BUILD_ROOT/etc/pam.d/postgresql
%endif
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
@@ -827,6 +821,8 @@
* Mon Jan 7 2008 Tom Lane <tgl at redhat.com> 8.2.6-1
- Update to PostgreSQL 8.2.6 to fix CVE-2007-4769, CVE-2007-4772,
CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
+- Make initscript and pam config files be installed unconditionally;
+ seems new buildroots don't necessarily have those directories in place
* Thu Sep 20 2007 Tom Lane <tgl at redhat.com> 8.2.5-1
- Update to PostgreSQL 8.2.5 and pgtcl 1.6.0
More information about the fedora-extras-commits
mailing list