No longer need to move python libraries
This commit is contained in:
parent
8c251c7eb7
commit
6dd9855c4c
6
vtk.spec
6
vtk.spec
@ -270,12 +270,6 @@ mkdir -p %{buildroot}
|
|||||||
pushd build
|
pushd build
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# Move python libraries into the proper location
|
|
||||||
if [ "%{_lib}" != lib -a "`ls %{buildroot}%{_prefix}/lib/*`" != "" ]; then
|
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
|
||||||
mv %{buildroot}%{_prefix}/lib/python* %{buildroot}%{_libdir}/
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ld config
|
# ld config
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
echo %{_libdir}/vtk > %{buildroot}%{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
|
echo %{_libdir}/vtk > %{buildroot}%{_sysconfdir}/ld.so.conf.d/vtk-%{_arch}.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user