2010/5/1 caleb <[email protected]>:
> - patched setup script to run on ruby-1.9
> +Patch0:                %{name}-ruby19.patch
> +%patch0 -p1

Some [widely bemoaned] changes to the way ruby handles string encoding
from 1.8 to 1.9 require changes in some scripts to run reliably. I
took a cue from several other patched pld packages and patched the
setup script for flvtools2 sot that it runs on ruby-1.9. The only
other way to make it run was to force the LANG to a non-utf8
selection, which didn't seem like the right option.

However this breaks the package build on ruby 1.8 systems. Is there an
acceptable way to mark a patch in the spec for inclusion only if the
host system is running a certain version of a package?

Caleb
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to