瀏覽代碼

fix socket adjustments and polish message

Ralf S. Engelschall 24 年之前
父節點
當前提交
145fc4f1c0
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      postgresql/postgresql.spec

+ 4 - 4
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:"