OpenArena version 0.7.0 is now available in cooker, with a bunch of new maps and models \o/
Ok, there was some initial flounderings in the packaging, because files were moved from the openarena package to the new openarena-data package and a directory was replaced by a symlink to make it smooth. But rpm failed to do the upgrade with a "cpio failed" error (#31885), it can't upgrade a directory to a symlink. This pointed out a small bug in urpmi, it exits with success code and removes the rpm file from cache if cpio fails (#31907).
A "tiny" hack (rpm-devel discussion) in a %pretrans scriptlet allows to workaround the directory to symlink conversion, by doing it "à la main"(!) before rpm extracts the new package:
%pretrans if [ -d %{gamelibdir}/baseoa ]; then mv %{gamelibdir}/baseoa{,.rpmsave} ln -s baseoa.rpmsave %{gamelibdir}/baseoa fi
And now, just come hurt me plenty!