소스 검색

fix post-processing and avoid conflicts with manual pages, too

Ralf S. Engelschall 19 년 전
부모
커밋
95b5fe74a9
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      php5/php5.spec

+ 4 - 2
php5/php5.spec

@@ -37,7 +37,7 @@ Class:        PLUS
 Group:        Language
 License:      PHP
 Version:      %{V_php}
-Release:      20060222
+Release:      20060313
 
 #   package options
 %option       with_calendar      no
@@ -474,9 +474,11 @@ AutoReqProv:  no
         -e 's;/include/php;/include/php5;g' \
         $RPM_BUILD_ROOT%{l_prefix}/bin/phpize \
         $RPM_BUILD_ROOT%{l_prefix}/bin/php-config
-    for bin in php php-config phpize; do
+    for bin in php-config phpize; do
         mv  $RPM_BUILD_ROOT%{l_prefix}/bin/$bin \
             $RPM_BUILD_ROOT%{l_prefix}/bin/`echo $bin | sed -e 's;^php;php5;'`
+        mv  $RPM_BUILD_ROOT%{l_prefix}/man/man1/$bin.1 \
+            $RPM_BUILD_ROOT%{l_prefix}/man/man1/`echo $bin.1 | sed -e 's;^php;php5;'`
     done
 
     #   install default configuration file