Explorar o código

simplify deps, fix name in message

Ralf S. Engelschall %!s(int64=23) %!d(string=hai) anos
pai
achega
1c61c1997e
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  1. 5 6
      acroread/acroread.spec

+ 5 - 6
acroread/acroread.spec

@@ -36,7 +36,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Graphics
 License:      Commercial
 Version:      %{V_real}
-Release:      20020724
+Release:      20021003
 
 #   list of sources
 Source0:      ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-%{V_comp}.tar.gz
@@ -45,8 +45,8 @@ Source1:      ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/solaris-%{V_c
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020416, gzip, tar
-PreReq:       OpenPKG, openpkg >= 20020416, X11
+BuildPreReq:  OpenPKG, openpkg >= 20021002
+PreReq:       OpenPKG, openpkg >= 20021002, X11
 AutoReq:      no
 AutoReqProv:  no
 
@@ -86,8 +86,7 @@ AutoReqProv:  no
             exit 1
             ;;
     esac
-    %{l_prefix}/bin/gzip -c -d $tarball |\
-    %{l_prefix}/bin/tar xf -
+    %{l_gzip} -c -d $tarball | %{l_tar} xf -
 
     #   perform the standard installation procedure
     %{l_shtool} subst -e 's;Linux);Linux|FreeBSD);' INSTALL
@@ -140,7 +139,7 @@ AutoReqProv:  no
                       [Yy][Ee][Ss])
                           ;;
                       * )
-                          ( echo "TSM requires the Linux ABI in the kernel."
+                          ( echo "Acrobat Reader requires the Linux ABI in the kernel."
                             echo "Run /usr/sbin/linux manually before running TSM"
                             echo "or add the following line to /etc/rc.conf:"
                             echo "linux_enable=\"YES\""