diff options
author | Junfeng Dong <junfeng.dong@intel.com> | 2013-03-25 18:57:18 +0800 |
---|---|---|
committer | lifang <fangx.li@intel.com> | 2013-03-29 05:23:15 +0800 |
commit | bf5f6ec227c7f0030985a6bc4a1fc34226c986ea (patch) | |
tree | 897833482b0e5b93b7d6847ca838428df9cdbd84 /packaging | |
parent | ef99ea8e643867d3964802a98e761c609bd1c571 (diff) | |
download | liblocation-appman-bf5f6ec227c7f0030985a6bc4a1fc34226c986ea.tar.gz liblocation-appman-bf5f6ec227c7f0030985a6bc4a1fc34226c986ea.tar.bz2 liblocation-appman-bf5f6ec227c7f0030985a6bc4a1fc34226c986ea.zip |
Fix for 64 bit compatibility.submit/tizen_2.1/20130424.231556submit/tizen/20130611.161324accepted/tizen_2.1/20130425.035151accepted/tizen/20130611.1535432.1b_releasetizen_2.1
- Fix hardcoding path.
- Use %cmake to set default paths.
Change-Id: Id4d3c9b745f2cb323f540177a7c6bb687d4c1ebb
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/liblocation-appman.spec | 4 |
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 |