diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:02:59 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 12:02:59 +0800 |
commit | 19be7961c92801ca303b33772875e3c21fb60a22 (patch) | |
tree | 81fc8e03f057b2d637da8ce69ad433dc346b614f | |
parent | 316375ecfad983310998ff94916391dad6733661 (diff) | |
download | bluetooth-19be7961c92801ca303b33772875e3c21fb60a22.tar.gz bluetooth-19be7961c92801ca303b33772875e3c21fb60a22.tar.bz2 bluetooth-19be7961c92801ca303b33772875e3c21fb60a22.zip |
update for beta universally
-rw-r--r-- | packaging/capi-network-bluetooth.spec | 8 |
1 files 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/* |