On Wed, 2006-03-01 at 17:26 +0000, Paul Howarth wrote: > %global filtered_requires sh -c '%{__perl_requires} "$@" | %{__sed} -e > "/^perl(unwanted_require)$/d"' > %define __perl_requires %{filtered_requires} > > Anyone see any problems with this? I don't see any technical problems offhand, but it'll sure get ugly when one needs to filter many provides/requires because IIRC the whole "%global ..." shebang needs to be on one line.