From 0951de250302f0b6f8228cfb5ce458bb3ea60366 Mon Sep 17 00:00:00 2001 From: Michael Schloh von Bennewitz Date: Wed, 17 Sep 2003 07:42:57 +0000 Subject: [PATCH] Change platform definition macro according to new standard --- mplayer/mplayer.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mplayer/mplayer.spec b/mplayer/mplayer.spec index 7bc137df04..bb989a4c3b 100644 --- a/mplayer/mplayer.spec +++ b/mplayer/mplayer.spec @@ -38,7 +38,7 @@ Distribution: OpenPKG [EVAL] Group: Video License: GPL and others Version: %{V_mplayer} -Release: 20030912 +Release: 20030917 # build options %option with_gui no @@ -100,7 +100,8 @@ AutoReqProv: no %build # translate target names into qmake system types - case "%{l_target}" in *-solaris*) host=solaris ;; + case "%{l_platform -t}" in + *-sunos*) host=solaris ;; *-linux*) host=linux ;; *-freebsd*) host=freebsd ;; *) host=`uname | tr A-Z a-z` ;;