Просмотр исходного кода

upgrading package: uuid 1.3.2 -> 1.4.0

Ralf S. Engelschall 20 лет назад
Родитель
Сommit
74c18421a5
1 измененных файлов с 14 добавлено и 6 удалено
  1. 14 6
      uuid/uuid.spec

+ 14 - 6
uuid/uuid.spec

@@ -32,14 +32,15 @@ Distribution: OpenPKG
 Class:        BASE
 Group:        System
 License:      MIT/X11-style
-Version:      1.3.2
-Release:      20051206
+Version:      1.4.0
+Release:      20060115
 
 #   package options
-%option       with_dce  no
-%option       with_cxx  no
-%option       with_perl no
-%option       with_php  no
+%option       with_dce   no
+%option       with_cxx   no
+%option       with_perl  no
+%option       with_php   no
+%option       with_pgsql no
 
 #   list of sources
 Source0:      ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
@@ -60,6 +61,10 @@ PreReq:       perl
 BuildPreReq:  php, autoconf, libtool
 PreReq:       php
 %endif
+%if "%{with_pgsql}" == "yes"
+BuildPreReq:  postgresql
+PreReq:       postgresql
+%endif
 AutoReq:      no
 AutoReqProv:  no
 
@@ -105,6 +110,9 @@ AutoReqProv:  no
 %endif
 %if "%{with_php}" == "yes"
         --with-php \
+%endif
+%if "%{with_pgsql}" == "yes"
+        --with-pgsql \
 %endif
         --disable-shared
     %{l_make} %{l_mflags -O}