Bug 10957

Summary: missed -DLIB_SUFFIX for cmake on x86_64
Product: Sisyphus Reporter: Peter V. Saveliev <peet>
Component: kdesvnAssignee: Andrey Cherepanov <cas>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: cas
Version: unstable   
Hardware: all   
OS: Linux   

Description Peter V. Saveliev 2007-02-28 15:28:58 MSK
without -DLIB_SUFFIX=64, kdesvn can not be packaged successfully on x86_64. To 
fix this, one can use:

--- kdesvn.spec.orig    2006-12-17 16:19:25 +0300
+++ kdesvn.spec 2007-02-28 15:20:32 +0300
@@ -71,6 +71,9 @@ mkdir build
 cd build
 cmake ../ \
         -DCMAKE_INSTALL_PREFIX=`kde-config --prefix` \
+%ifarch x86_64
+       -DLIB_SUFFIX=64 \
+%endif
        -DCMAKE_SKIP_RPATH=YES

 %build

Steps to Reproduce:
rpmbuild -ba path/to/kdesvn.spec
Comment 1 Andrey Rahmatullin 2007-03-19 19:44:06 MSK
0.11.1-alt1