Initial import (from python3-3.1.1-13)
This commit is contained in:
parent
533ae8c505
commit
a3483f912e
14 changed files with 1166 additions and 0 deletions
14
find-provides-without-python-sonames.sh
Executable file
14
find-provides-without-python-sonames.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# The standard /usr/lib/rpm/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" | /usr/lib/rpm/find-provides
|
||||
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue