소스 검색

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