]> git.pld-linux.org Git - packages/beecrypt.git/blobdiff - beecrypt.spec
- don't move libraries to proper libdir but make them compile and install with proper...
[packages/beecrypt.git] / beecrypt.spec
index 7227afab1689d63286fb9dead015815a406e0fc6..8fea6b954bc43b8c1f5e62a75bb0aeadf33d5ac2 100644 (file)
@@ -93,11 +93,15 @@ rm -f missing
        --with%{!?with_javaglue:out}-javaglue \
        --with-cpu=%{_target_cpu} \
        --with-arch=%{_target_cpu} \
+       --with-pic \
        --with%{!?with_python:out}-python
-%{__make}
+%{__make} \
+       libaltdir=%{_libdir} \
+       pylibdir=%{py_libdir}
 
 %if %{with python}
-%{__make} -C python
+%{__make} -C python \
+       pylibdir=%{py_libdir}
 %endif
 
 %install
@@ -105,17 +109,16 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}
 
 %{__make} install \
+       libaltdir=%{_libdir} \
        DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with python}
 %{__make} install -C python \
+       libaltdir=%{_libdir} \
+       pylibdir=%{py_libdir} \
        DESTDIR=$RPM_BUILD_ROOT
 %endif
 
-%ifarch amd64
-mv $RPM_BUILD_ROOT{%{_prefix}/lib/*,%{_libdir}}
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.082405 seconds and 4 git commands to generate.