From 1eb9a793c67ac95f8c3657341c27e4ead5b3f773766a443fa35360ea2389e352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 17 Mar 2014 09:18:48 +0000 Subject: [PATCH] - OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=344 --- lldb.spec | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/lldb.spec b/lldb.spec index 78b7f91..4b16a41 100644 --- a/lldb.spec +++ b/lldb.spec @@ -20,7 +20,7 @@ Name: lldb Version: 3.4 Release: 0 Summary: The LLDB Debugger -License: LLVM +License: NCSA Group: Development/Languages Url: http://lldb.llvm.org/ Source: lldb-%{version}.tar.bz2 @@ -33,10 +33,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: arm x86_64 %description -LLDB is a next generation, high-performance debugger. -It is built as a set of reusable components which highly -leverage existing libraries in the larger LLVM Project, -such as the Clang expression parser and LLVM disassembler. +LLDB is a next generation, high-performance debugger. It is built as a set +of reusable components which highly leverage existing libraries in the +larger LLVM Project, such as the Clang expression parser and LLVM +disassembler. %package Summary: Next generation high-performance debugger @@ -70,18 +70,19 @@ disassembler. %build mkdir build -popd build +pushd build CC=clang CXX=clang++ \ -cmake -DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \ - -DLLDB_PATH_TO_CLANG_BUILD=%{_prefix} .. +%cmake -DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \ + -DLLDB_PATH_TO_CLANG_BUILD=%{_prefix} .. %install -popd build -%makeinstall +pushd build +make DESTDIR=%{buildroot} install %{?_smp_mflags} rm %{buildroot}%{_libdir}/liblldb*.a %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig %files