No more FindPythonLibs.cmake, library name change
This commit is contained in:
parent
5532eca45a
commit
863bc85f1b
3
gdl.spec
3
gdl.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user