Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > c8b779c6b7d365baa1407c63384038cc > files > 34

python3-3.3.0-5.fc18.src.rpm

#!/bin/bash

# The standard find-provides script
# adds provides lines for all SONAME directives in all shared libraries,
# even if those libraries are not in the LD_LIBRARY_PATH

# This leads to the rpm having a redundant Provides "foo.so" for all of the
# various foo.so Python c modules

# So we strip out all /usr/lib/python lines first, before running them through
# the standard script:
grep -v "/usr/lib/python" | grep -v "/usr/lib64/python" | \
    /usr/lib/rpm/redhat/find-provides

exit 0