Re: Why is my %dist resolving to rh8?

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux