Macro expansion problem

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

 



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/

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux