Browse Source

fix socket adjustments and polish message

master
parent
commit
145fc4f1c0
  1. 8
      postgresql/postgresql.spec

8
postgresql/postgresql.spec

@ -56,8 +56,8 @@ AutoReqProv: no
%prep
%setup -q
%{l_shtool} subst \
-e 's;\(#define.*DEFAULT_PGSOCKET_DIR.*"\)/tmp\("\);\1%{l_prefix}/var/postgresql/run\2;'
include/pg_config.h.in
-e 's;\(#define.*DEFAULT_PGSOCKET_DIR[^"]*"\)/tmp\("\);\1%{l_prefix}/var/postgresql/run\2;' \
src/include/pg_config.h.in
%build
# configure package
@ -153,8 +153,8 @@ AutoReqProv: no
rm -f $RPM_INSTALL_PREFIX/var/postgresql/db/pg_hba.conf.old
# display information about next steps
echo "An initial PostgreSQL DB was created with the two default"
echo "database clusters template0 and template1. The owner of both"
echo "An initial PostgreSQL DB was created with the two standard"
echo "databases 'template0' and 'template1'. The owner of both"
echo "is the DB user 'postgresql'. Its initial password is 'postgresql'."
echo "After starting PostgreSQL you should change this as quick as"
echo "possible with the following command:"

Loading…
Cancel
Save