Why is my %dist resolving to rh8?
Tom "spot" Callaway
tcallawa at redhat.com
Fri Oct 26 15:14:47 UTC 2007
On Thu, 2007-10-25 at 15:38 -0600, Orion Poplawski wrote:
> 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...
I'm pretty sure we don't define %{dist} like that anymore, I suspect
this is a legacy hack.
~spot
More information about the fedora-devel-list
mailing list