# | Line 15 | Line 15 | Patch4: python-Makefile.pre.in | |
---|---|---|
15 | Patch5: python-configure | |
16 | Patch6: python-setup.py | |
17 | ||
18 | + | |
19 | %prep | |
20 | %setup -n Python-%v | |
21 | #%patch0 | |
# | Line 93 | Line 94 | perl -p -i -e "s|^#!.*python|#!/usr/bin/ | |
94 | # boost.spec rfio.spec | |
95 | # | |
96 | # | |
97 | + | rm `find %{i}/lib -maxdepth 1 -mindepth 1 ! -name '*python*'` |
98 | + | rm `find %{i}/include -maxdepth 1 -mindepth 1 ! -name '*python*'` |
99 | %post | |
100 | find $RPM_INSTALL_PREFIX/%pkgrel/lib -type l | xargs ls -la | sed -e "s|.*[ ]\(/.*\) -> \(.*\)| \2 \1|;s|[ ]/[^ ]*/external| $RPM_INSTALL_PREFIX/%cmsplatf/external|g" | xargs -n2 ln -sf |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |