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.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to