浏览代码

uniform 'copy-n-paste'-able style of all options

Christoph Schug 23 年之前
父节点
当前提交
3976a5d21d
共有 1 个文件被更改,包括 40 次插入20 次删除
  1. 40 20
      apache/apache.spec

+ 40 - 20
apache/apache.spec

@@ -141,7 +141,7 @@ Distribution: OpenPKG [REL]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20020731
+Release:      20020801
 
 #   list of sources
 Source0:      http://www.apache.org/dist/httpd/apache_%{V_apache}.tar.gz
@@ -264,31 +264,51 @@ AutoReqProv:  no
     project.
 
     Options (additional modules I):
-    with_mod_ssl=%{with_mod_ssl} with_mod_perl=%{with_mod_perl}
-    with_mod_php=%{with_mod_php} with_mod_php3=%{with_mod_php3}
-    with_mod_dav=%{with_mod_dav} with_mod_layout=%{with_mod_layout} with_mod_macro=%{with_mod_macro}
+    --define 'with_mod_dav              %{with_mod_dav}' \
+    --define 'with_mod_layout           %{with_mod_layout}' \
+    --define 'with_mod_macro            %{with_mod_macro}' \
+    --define 'with_mod_perl             %{with_mod_perl}' \
+    --define 'with_mod_php              %{with_mod_php}' \
+    --define 'with_mod_php3             %{with_mod_php3}' \
+    --define 'with_mod_ssl              %{with_mod_ssl}'
 
     Options (additional modules II):
-    with_mod_auth_pam=%{with_mod_auth_pam} with_mod_gzip=%{with_mod_gzip} with_mod_zmod=%{with_mod_zmod}
-    with_mod_fastcgi=%{with_mod_fastcgi} with_mod_throttle=%{with_mod_throttle} with_mod_access_referer=%{with_mod_access_referer}
-    with_mod_roaming=%{with_mod_roaming} with_mod_relocate=%{with_mod_relocate}
+    --define 'with_mod_access_referer   %{with_mod_access_referer}' \
+    --define 'with_mod_auth_pam         %{with_mod_auth_pam}' \
+    --define 'with_mod_fastcgi          %{with_mod_fastcgi}' \
+    --define 'with_mod_gzip             %{with_mod_gzip}' \
+    --define 'with_mod_relocate         %{with_mod_relocate}' \
+    --define 'with_mod_roaming          %{with_mod_roaming}' \
+    --define 'with_mod_throttle         %{with_mod_throttle}' \
+    --define 'with_mod_zmod             %{with_mod_zmod}'
 
     Options (additional extensions for mod_php):
-    with_mod_php_mysql=%{with_mod_php_mysql} with_mod_php_gd=%{with_mod_php_gd} with_mod_php_db=%{with_mod_php_db}
-    with_mod_php_pdflib=%{with_mod_php_pdflib} with_mod_php_zlib=%{with_mod_php_zlib} with_mod_php_bzip2=%{with_mod_php_bzip2}
-    with_mod_php_openssl=%{with_mod_php_openssl} with_mod_php_openldap=%{with_mod_php_openldap} with_mod_php_mm=%{with_mod_php_mm}
-    with_mod_php_pcre=%{with_mod_php_pcre} with_mod_php_ftp=%{with_mod_php_ftp} with_mod_php_java=%{with_mod_php_java}
-    with_mod_php_oci8=%{with_mod_php_oci8} with_mod_php_gettext=%{with_mod_php_gettext}
-    with_mod_php_imap=%{with_mod_php_imap} with_mod_php_xml=%{with_mod_php_xml}
-    with_mod_php_bc=%{with_mod_php_bc}
+    --define 'with_mod_php_bzip23       %{with_mod_php_bzip2}' \
+    --define 'with_mod_php_bc           %{with_mod_php_bc}' \
+    --define 'with_mod_php_db           %{with_mod_php_db}' \
+    --define 'with_mod_php_ftp          %{with_mod_php_ftp}' \
+    --define 'with_mod_php_gd           %{with_mod_php_gd}' \
+    --define 'with_mod_php_gettext      %{with_mod_php_gettext}' \
+    --define 'with_mod_php_imap         %{with_mod_php_imap}' \
+    --define 'with_mod_php_java         %{with_mod_php_java}' \
+    --define 'with_mod_php_mm           %{with_mod_php_mm}' \
+    --define 'with_mod_php_mysql        %{with_mod_php_mysql}' \
+    --define 'with_mod_php_oci8         %{with_mod_php_oci8}' \
+    --define 'with_mod_php_openldap     %{with_mod_php_openldap}' \
+    --define 'with_mod_php_openssl      %{with_mod_php_openssl}' \
+    --define 'with_mod_php_pcre         %{with_mod_php_pcre}' \
+    --define 'with_mod_php_pdflib       %{with_mod_php_pdflib}' \
+    --define 'with_mod_php_transsid     %{with_mod_php_transsid}' \
+    --define 'with_mod_php_xml          %{with_mod_php_xml}' \
+    --define 'with_mod_php_zlib         %{with_mod_php_zlib}
 
     Options (additional extensions for mod_php3):
-    with_mod_php3_ftp     %{with_mod_php3_ftp}
-    with_mod_php3_gd      %{with_mod_php3_gd}
-    with_mod_php3_jpeg    %{with_mod_php3_jpeg}
-    with_mod_php3_mysql   %{with_mod_php3_mysql}
-    with_mod_php3_openssl %{with_mod_php3_openssl}
-    with_mod_php3_zlib    %{with_mod_php3_zlib}
+    --define 'with_mod_php3_ftp         %{with_mod_php3_ftp}' \
+    --define 'with_mod_php3_gd          %{with_mod_php3_gd}' \
+    --define 'with_mod_php3_jpeg        %{with_mod_php3_jpeg}' \
+    --define 'with_mod_php3_mysql       %{with_mod_php3_mysql}' \
+    --define 'with_mod_php3_openssl     %{with_mod_php3_openssl}' \
+    --define 'with_mod_php3_zlib        %{with_mod_php3_zlib}'
 
 %prep
     #   unpack Apache distribution