summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorjh0522.choi <jh0522.choi@samsung.com>2013-08-29 09:56:56 +0900
committerjh0522.choi <jh0522.choi@samsung.com>2013-08-29 09:56:56 +0900
commit7de6c330687bd2e0499a4a8ba3a3faf998282a2b (patch)
tree6832e9708bf3e88c40e8ab062e5d516f8ad3253b /packaging
parent77129ab953efd6c87cbffc3544256a126656e94c (diff)
downloadlocations-7de6c330687bd2e0499a4a8ba3a3faf998282a2b.tar.gz
locations-7de6c330687bd2e0499a4a8ba3a3faf998282a2b.tar.bz2
locations-7de6c330687bd2e0499a4a8ba3a3faf998282a2b.zip
Change-Id: Ie294c96b3bfafc0ea7f46c0086e61073cb5c58aa
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/osp-locations.spec16
1 files changed, 1 insertions, 15 deletions
diff --git a/packaging/osp-locations.spec b/packaging/osp-locations.spec
index 091dc43..6667810 100755
--- a/packaging/osp-locations.spec
+++ b/packaging/osp-locations.spec
@@ -1,6 +1,3 @@
-%define debug_package %{nil}
-%define __strip /bin/true
-
Name: osp-locations
Summary: osp locations library
Version: 1.2.1.0
@@ -38,18 +35,10 @@ Requires: %{name} = %{version}-%{release}
%description internal-devel
osp locations library (Internal-DEV)
-%package debug
-Summary: osp locations library (Development)
-Group: TO_BE/FILLED_IN
-Requires: %{name} = %{version}-%{release}
-
-%description debug
-osp locations library (DEV)
-
%prep
%setup -q
-%build
+%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%ifarch %{ix86}
CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
@@ -80,6 +69,3 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license
%{_libdir}/pkgconfig/osp-locations.pc
%files internal-devel
-
-%files debug
-%{_libdir}/osp/debug/*.so*