On Thu, Nov 01, 2012 at 04:51:30PM -0400, Julian C. Dunn wrote:
<snip>
> What should the correct value be, given that I want to support EPEL 6 (has
> Ruby 1.8) and current Fedoras (have Ruby 1.9)? Is it acceptable to wrap this
> in a conditional, example:
>
> %if %{?el6}
> Requires: ruby(abi) = 1.8
> %else
> Requires: ruby(abi) = 1.9.1
> %endif
>
> or not?A note on specfile style: since we have a separate branch for each target version, you don't need to use the above conditional. Instead, on your el6 just use: Requires: ruby(abi) = 1.8 and on F17+ us Requires: ruby(abi) = 1.9.1 -- Darryl L. Pierce <[email protected]> http://mcpierce.multiply.com/ "What do you care what people think, Mr. Feynman?"
pgpwYWIPLmosZ.pgp
Description: PGP signature
_______________________________________________ ruby-sig mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
