diff options
author | Xavier Roche <xavrock.os@gmail.com> | 2013-05-29 17:09:04 +0200 |
---|---|---|
committer | Xavier Roche <xavrock.os@gmail.com> | 2013-05-29 17:09:04 +0200 |
commit | 7632f8ead06ced5077b73406a4cb1f83906ee412 (patch) | |
tree | 39ef744b1fe8174c4f7d6ea3bafd5f6384125418 /packaging | |
parent | 7146d3670f1f75e83ed34a009267a3c1075e6c92 (diff) | |
download | libcryptsvc-7632f8ead06ced5077b73406a4cb1f83906ee412.tar.gz libcryptsvc-7632f8ead06ced5077b73406a4cb1f83906ee412.tar.bz2 libcryptsvc-7632f8ead06ced5077b73406a4cb1f83906ee412.zip |
Fix hardcoded library path for 64b compatibility
- Fix hardcoded lib path
- Use %cmake macro to set default path
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/libcryptsvc.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/libcryptsvc.spec b/packaging/libcryptsvc.spec index b7603d3..4097ece 100755 --- a/packaging/libcryptsvc.spec +++ b/packaging/libcryptsvc.spec @@ -24,10 +24,10 @@ Requires: %{name} = %{version}-%{release} %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` -%ifarch %{ix86} -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} +%ifarch %ix86 x86_64 +%cmake . -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} %else -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} +%cmake . -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary} %endif make %{?jobs:-j%jobs} |