diff options
| author | Miro Hrončok <miro@hroncok.cz> | 2016-08-09 12:36:16 +0200 |
|---|---|---|
| committer | Miro Hrončok <miro@hroncok.cz> | 2016-09-26 10:20:04 +0200 |
| commit | e32ce18e762bfad63a243fa6dcb192b3e5ae9588 (patch) | |
| tree | 52df28be6fe15714554555c8bc772cb67f167dbc /find-provides-without-python-sonames.sh | |
| parent | f5845b442d5e3c252df4de7d56bbafe3e8737613 (diff) | |
| download | python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.tar.gz python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.tar.xz python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.zip | |
Initial import of Fedora 23 package
Diffstat (limited to 'find-provides-without-python-sonames.sh')
| -rwxr-xr-x | find-provides-without-python-sonames.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/find-provides-without-python-sonames.sh b/find-provides-without-python-sonames.sh new file mode 100755 index 0000000..7a9e224 --- /dev/null +++ b/find-provides-without-python-sonames.sh @@ -0,0 +1,15 @@ +#!/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 |
