Kaynağa Gözat

Hurray!!! Upgrade to 4.63 and kick out all Solaris binary kludges now that our "gcc" (3.1) package is able to natively create SPARCv9 64-bit executables. Hell, I've waited more than 1 year for this day...

Ralf S. Engelschall 24 yıl önce
ebeveyn
işleme
26989c6784
1 değiştirilmiş dosya ile 4 ekleme ve 18 silme
  1. 4 18
      lsof/lsof.spec

+ 4 - 18
lsof/lsof.spec

@@ -32,12 +32,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Filesystem
 License:      BSD
-Version:      4.62
-Release:      20020320
+Version:      4.63
+Release:      20020519
 
 #   list of sources
 Source0:      ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.gz
-Source1:      lsof_%{version}.sparc64-solaris2.8.bin
 
 #   build information
 Prefix:       %{l_prefix}
@@ -62,21 +61,8 @@ AutoReqProv:  no
         *-linux* )   platform="linux"   ;;
         *-solaris* ) platform="solaris" ;;
     esac
-    skip_build=0
-    case "%{l_target}" in
-        *-solaris2.8* )
-           case "`/bin/isainfo -kv`" in
-               64-bit* ) 
-                   cp %{SOURCE lsof_%{version}.sparc64-solaris2.8.bin} lsof
-                   skip_build=1
-                   ;;
-           esac
-           ;;
-    esac
-    if [ ".$skip_build" = .0 ]; then
-        ./Configure -n $platform
-        %{l_make} %{l_mflags -O}
-    fi
+    ./Configure -n $platform
+    %{l_make} %{l_mflags -O}
 
 %install
     rm -rf $RPM_BUILD_ROOT