summaryrefslogtreecommitdiff
path: root/packaging/liblocation-appman.spec
diff options
context:
space:
mode:
authorJunfeng Dong <junfeng.dong@intel.com>2013-03-25 10:57:18 (GMT)
committerlifang <fangx.li@intel.com>2013-03-28 21:23:15 (GMT)
commitbf5f6ec227c7f0030985a6bc4a1fc34226c986ea (patch)
tree897833482b0e5b93b7d6847ca838428df9cdbd84 /packaging/liblocation-appman.spec
parentef99ea8e643867d3964802a98e761c609bd1c571 (diff)
downloadliblocation-appman-bf5f6ec227c7f0030985a6bc4a1fc34226c986ea.zip
liblocation-appman-bf5f6ec227c7f0030985a6bc4a1fc34226c986ea.tar.gz
liblocation-appman-bf5f6ec227c7f0030985a6bc4a1fc34226c986ea.tar.bz2
- Fix hardcoding path. - Use %cmake to set default paths. Change-Id: Id4d3c9b745f2cb323f540177a7c6bb687d4c1ebb
Diffstat (limited to 'packaging/liblocation-appman.spec')
-rw-r--r--packaging/liblocation-appman.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/liblocation-appman.spec b/packaging/liblocation-appman.spec
index 033e28b..ec9acaf 100644
--- a/packaging/liblocation-appman.spec
+++ b/packaging/liblocation-appman.spec
@@ -34,7 +34,7 @@ Description : Location DB controller Development Package
%build
-cmake . -DCMAKE_INSTALL_PREFIX=/usr
+%cmake .
# Call make instruction with smp support
make %{?jobs:-j%jobs}
@@ -44,7 +44,7 @@ make %{?jobs:-j%jobs}
chown 0:5000 /opt/dbspace/.location-appman.db*
chmod 664 /opt/dbspace/.location-appman.db*
-if [ -f /usr/lib/rpm-plugins/msm.so ]
+if [ -f %{_libdir}/rpm-plugins/msm.so ]
then
chsmack -a 'location_fw::db' /opt/dbspace/.location-appman.db*
fi