[Fedora-spins] [spin-kickstarts] Scientific: including sage fails depcheck for no clear reason

Bruno Wolff III bruno at wolff.to
Tue Sep 10 10:47:24 UTC 2013


On Tue, Sep 10, 2013 at 05:35:29 -0400,
   Amit Saha <asaha at redhat.com> wrote:
>
>You are perhaps referring to this in sage.spec:
>
>########################################################################
>%pretrans
># Temporary due to moving directory to symlink
>if [ ! -L %{SAGE_ROOT}/devel -a -d %{SAGE_ROOT}/devel ]; then
>    mkdir %{SAGE_SRC}
>    mv %{SAGE_ROOT}/devel/* %{SAGE_SRC}
>    rmdir %{SAGE_ROOT}/devel
>    ln -s src %{SAGE_ROOT}/devel
>fi

Yes. After reading Kevin's comment I checked and you are limited to using 
Lua scripts in pretrans. (rpm has a builtin lua interpreter.)


More information about the spins mailing list