At the risk of asking the obvious, why does this fail:
%define nunitver %(gacutil -l nunit.core | tail -n 2 | grep nunit.core
| cut -d "=" -f 2 | cut -
d "," -f 1)
Requires: mono(nunit.core) = %{nunitver}
but this succeeds:
%define nunitver 2.2.10.0
Requires: mono(nunit.core) = %{nunitver}
context: this is for monodevelop, that comes from upstream with
bundled nunit DLLs. I've patched it to use the system-provided nunit
DLLs, but find-mono.req.sh does not pick up the correct dependencies,
thus the manual patch.
Thanks,
--
Michel Salim
http://hircus.jaiku.com/