From 19be7961c92801ca303b33772875e3c21fb60a22 Mon Sep 17 00:00:00 2001 From: Yan Yin Date: Wed, 14 Mar 2012 12:02:59 +0800 Subject: [PATCH] update for beta universally --- packaging/capi-network-bluetooth.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec index b99a09a..0fcef6a 100644 --- a/packaging/capi-network-bluetooth.spec +++ b/packaging/capi-network-bluetooth.spec @@ -3,7 +3,7 @@ Summary: Network Bluetooth Framework Version: 0.1.0 Release: 1 Group: TO_BE/FILLED_IN -License: TO BE FILLED IN +License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -32,7 +32,9 @@ Network Bluetooth Framework (DEV). %setup -q %build -cmake . -DCMAKE_INSTALL_PREFIX=/usr +FULLVER=%{version} +MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} make %{?jobs:-j%jobs} @@ -46,7 +48,7 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %files -/usr/lib/*.so +/usr/lib/*.so* %files devel /usr/include/* -- 2.7.4