On Mon, Mar 2, 2009 at 3:02 PM, Paul Howarth <paul(a)city-fan.org> wrote:
This version seems to work a little better:
# don't "provide" private Perl libs
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done |
/bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v
'%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"
This works nicely. I just can't help feeling that there has _got_ to
be a simpler way to do this than embedding this in every non-noarch
package out there.
-Chris
--
Chris Weyl
Ex astris, scientia