Why is my %dist resolving to rh8?
Orion Poplawski
orion at cora.nwra.com
Thu Oct 25 21:38:29 UTC 2007
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 at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the devel
mailing list