From 4fe951cba13e5afc791aae797f2e6c566a87fb3f Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sun, 21 Dec 2003 17:27:25 +0000 Subject: [PATCH] - don't move libraries to proper libdir but make them compile and install with proper libdir (by passing paths to make) Changed files: beecrypt.spec -> 1.30 --- beecrypt.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/beecrypt.spec b/beecrypt.spec index 7227afa..8fea6b9 100644 --- a/beecrypt.spec +++ b/beecrypt.spec @@ -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 -- 2.43.0