|
|
@@ -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
|