diff --git a/netcat/netcat.spec b/netcat/netcat.spec index 068c0fef14..67dfce00e1 100644 --- a/netcat/netcat.spec +++ b/netcat/netcat.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE] Group: Network License: no restrictions Version: 1.10 -Release: 20030707 +Release: 20030917 # list of sources Source0: http://www.atstake.com/research/tools/nc110.tgz @@ -62,8 +62,8 @@ AutoReqProv: no %build os=generic - case "%{l_target}" in - *-solaris* ) os=solaris ;; + case "%{l_platform -t}" in + *-sunos* ) os=solaris ;; *-linux* ) os=linux ;; *-freebsd* ) os=freebsd ;; esac