Selaa lähdekoodia

upgrade to expect 5.34.1

Ralf S. Engelschall 24 vuotta sitten
vanhempi
commit
45783897a9
1 muutettua tiedostoa jossa 8 lisäystä ja 7 poistoa
  1. 8 7
      expect/expect.spec

+ 8 - 7
expect/expect.spec

@@ -23,8 +23,9 @@
 ##  SUCH DAMAGE. 
 ##  
 
-%define       V_expect 5.34
-%define       V_tcl    8.3.4
+%define       V_expect_maj 5.34
+%define       V_expect_min 5.34.1
+%define       V_tcl        8.3.4
 
 #   package information
 Name:         expect
@@ -35,8 +36,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [EXP]
 Group:        Language
 License:      GPL
-Version:      %{V_expect}
-Release:      20020206
+Version:      %{V_expect_min}
+Release:      20020318
 
 #   list of sources
 Source0:      http://expect.nist.gov/expect.tar.gz
@@ -57,7 +58,7 @@ AutoReqProv:  no
     applications.
 
 %prep
-    %setup0 -q -c -n expect-%{V_expect}
+    %setup0 -q -c -n expect-%{V_expect_maj}
     %setup1 -q -T -D -a 1
 
 %build
@@ -71,7 +72,7 @@ AutoReqProv:  no
           --disable-shared
       %{l_make} %{l_mflags -O}
     )
-    ( cd expect-%{V_expect}
+    ( cd expect-%{V_expect_maj}
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       ./configure \
@@ -85,7 +86,7 @@ AutoReqProv:  no
 
 %install
     rm -rf $RPM_BUILD_ROOT
-    ( cd expect-%{V_expect}
+    ( cd expect-%{V_expect_maj}
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/bin \
           $RPM_BUILD_ROOT%{l_prefix}/man/man1