OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   09-Sep-2003 11:27:28
  Branch: HEAD                             Handle: 2003090910272602

  Modified files:
    openpkg-src/acroread    acroread.spec
    openpkg-web             news.txt

  Log:
    convert to new %{l_platform} world order

  Summary:
    Revision    Changes     Path
    1.22        +10 -10     openpkg-src/acroread/acroread.spec
    1.6458      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/acroread/acroread.spec
  ============================================================================
  $ cvs diff -u -r1.21 -r1.22 acroread.spec
  --- openpkg-src/acroread/acroread.spec        11 Aug 2003 08:02:20 -0000      1.21
  +++ openpkg-src/acroread/acroread.spec        9 Sep 2003 09:27:28 -0000       1.22
  @@ -37,7 +37,7 @@
   Group:        Graphics
   License:      Commercial
   Version:      %{V_real}
  -Release:      20030811
  +Release:      20030909
   
   #   list of sources
   Source0:      
ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-%{V_comp}.tar.gz
  @@ -46,8 +46,8 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20030516
  -PreReq:       OpenPKG, openpkg >= 20030516, X11
  +BuildPreReq:  OpenPKG, openpkg >= 20030909
  +PreReq:       OpenPKG, openpkg >= 20030909, X11
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -69,8 +69,8 @@
           $RPM_BUILD_ROOT%{l_prefix}/libexec/acroread
   
       #   unpack the corresponding binary only
  -    case "%{l_target}" in
  -        ix86-freebsd* )
  +    case "%{l_platform -t}" in
  +        i?86-freebsd[45]* )
               tarball="%{SOURCE linux-%{V_comp}.tar.gz}"
               shell="/compat/linux/bin/sh"
               if [ ! -f $shell ]; then
  @@ -80,15 +80,15 @@
                   exit 1
               fi
               ;;
  -        ix86-linux* )
  +        i?86-linux2* )
               tarball="%{SOURCE linux-%{V_comp}.tar.gz}"
               shell="/bin/sh"
               ;;
  -        sparc*-solaris* )
  +        sparc*-sunos5* )
               tarball="%{SOURCE sol-%{V_comp}.tar.gz}"
               shell="/bin/sh"
               ;;
  -        * ) echo "Platform %{l_target} not supported" | %{l_rpmtool} msg -b
  +        * ) echo "Platform %{l_platform -t} not supported" | %{l_rpmtool} msg -b
               exit 1
               ;;
       esac
  @@ -109,7 +109,7 @@
       %{l_shtool} subst \
           -e "s;$RPM_BUILD_ROOT%{l_prefix}/libexec;%{l_prefix}/libexec;g" \
           $RPM_BUILD_ROOT%{l_prefix}/bin/acroread
  -    case "%{l_target}" in
  +    case "%{l_platform -t}" in
           *-freebsd* )
               %{l_shtool} subst -e 's;#!/bin/sh;#!/compat/linux/bin/sh;' \
                   $RPM_BUILD_ROOT%{l_prefix}/bin/acroread
  @@ -133,7 +133,7 @@
   
   %post
       if [ $1 -eq 1 ]; then
  -        case "%{l_target}" in
  +        case "%{l_platform -t}" in
               *-freebsd*)
                   if [ ! -f /compat/linux/bin/sh ]; then
                       ( echo "The Linux ABI base system is not installed under 
/compat/linux/."
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.6457 -r1.6458 news.txt
  --- openpkg-web/news.txt      9 Sep 2003 08:58:43 -0000       1.6457
  +++ openpkg-web/news.txt      9 Sep 2003 09:27:26 -0000       1.6458
  @@ -1,3 +1,4 @@
  +09-Sep-2003: Upgraded package: P<acroread-5.08-20030909>
   09-Sep-2003: Upgraded package: P<openpkg-20030909-20030909>
   09-Sep-2003: Upgraded package: P<beecrypt-3.1.0-20030909>
   09-Sep-2003: Upgraded package: P<dmalloc-5.2.2-20030909>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to