On Fri, Sep 3, 2010 at 4:30 PM, Iain Arnell <iarnell@xxxxxxxxx> wrote: > > Those methods need a little tweaking for perl packages - you need the > CPAN dist name instead of the first %{name} in > "%{_builddir}/%{name}-%{version}/%{name}-prov" > > Something like: > > # Filter provides/requires > cat << \EOF > %{name}-prov > #!/bin/sh > %{__perl_provides} $* |\ > sed -e '/perl(Bad::Provide)/d' > EOF > %global __perl_provides %{_builddir}/SOAP-Lite-%{version}/%{name}-prov > chmod +x %{__perl_provides} > > cat << \EOF > %{name}-req > #!/bin/sh > %{__perl_requires} $* |\ > sed -e '/perl(Dont::Need::This)/d' > EOF > %global __perl_requires %{_builddir}/SOAP-Lite-%{version}/%{name}-req > chmod +x %{__perl_requires} > Many thanks - that fixed it. It might be worth editing https://fedoraproject.org/wiki/Packaging/Perl to reflect this. Happy to do that myself if people don't mind. Adam -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel