[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Why is my %dist resolving to rh8?



Looks like we've wrapped into redhat version numbers:

dist %{expand:%%(if echo %{distlong} | grep "[^0-9.]"> /dev/null; then
  echo .%{rheldist}
else
  case "%{distlong}" in
    ( "7.0" | "7.1" | "7.2" | "7.3" | "8" | "9" )
    echo .%{rhldist}
    ;;
    ( "1" | "2" | "3" | "4" | "5" | "6" )
    echo .%{fcdist}
    ;;
  esac;
  if echo %{distlong} | grep "[^0-9]" > /dev/null; then
    if [ %{distsver} -ge 90 ]; then
      echo .%{fctdist}
    fi
  fi
fi;)}


Time to drop the rhldist stuff?

Can't figure out where this is defined though...


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion cora nwra com
Boulder, CO 80301              http://www.cora.nwra.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]