No more FindPythonLibs.cmake, library name change

This commit is contained in:
Orion Poplawski 2011-05-18 08:43:29 -06:00
parent 5532eca45a
commit 863bc85f1b

View File

@ -79,7 +79,6 @@ Provides: %{name}-runtime = %{version}-%{release}
%setup -q -n %{name}-%{version}-cvs
rm -rf src/antlr
%patch13 -p1 -b .antlr
rm CMakeModules/FindPythonLibs.cmake
%global cmake_opts \\\
-DWXWIDGETS=ON \\\
@ -119,7 +118,7 @@ pushd build-python
make install DESTDIR=$RPM_BUILD_ROOT
# Install the python module
install -d -m 0755 $RPM_BUILD_ROOT/%{python_sitearch}
mv $RPM_BUILD_ROOT/%{_prefix}/lib/libgdl.so \
cp -p src/libgdl.so \
$RPM_BUILD_ROOT/%{python_sitearch}/GDL.so
rm -r $RPM_BUILD_ROOT/%{_prefix}/lib
popd