summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunfeng Dong <junfeng.dong@intel.com>2013-06-25 13:42:05 +0800
committerJunfeng Dong <junfeng.dong@intel.com>2013-06-25 13:42:05 +0800
commit5fae94237ff49f492d6a6f3e7536ef9b2424c8bc (patch)
treee4a421141f09cfc2d652cd086f1f07c7b5bc0652
parentd95bea36cef8098442ceed7532b840b0a27d00a9 (diff)
downloade17-5fae94237ff49f492d6a6f3e7536ef9b2424c8bc.tar.gz
e17-5fae94237ff49f492d6a6f3e7536ef9b2424c8bc.tar.bz2
e17-5fae94237ff49f492d6a6f3e7536ef9b2424c8bc.zip
Fix the packging issue in mobile project.submit/tizen/20130625.072021
Change-Id: Ibe5ecf1bfe2afa46f04c98680575babd9102fd07 Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
-rw-r--r--packaging/e17.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/packaging/e17.spec b/packaging/e17.spec
index 8e29c53..efa8016 100644
--- a/packaging/e17.spec
+++ b/packaging/e17.spec
@@ -172,17 +172,21 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
+if [ -d %{buildroot}/usr/lib/debug ]
+then
+ rm -rf %{buildroot}/usr/lib/debug
+fi
# for license notification
mkdir -p %{buildroot}/usr/share/license
cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
#systemd setup
-mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
-install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/user/
-ln -s ../e17.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/e17.service
-install -m 0644 %SOURCE3 %{buildroot}%{_libdir}/systemd/user/
-ln -s ../e17_early.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/e17_early.service
+mkdir -p %{buildroot}/usr/lib/systemd/user/core-efl.target.wants
+install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/user/
+ln -s ../e17.service %{buildroot}/usr/lib/systemd/user/core-efl.target.wants/e17.service
+install -m 0644 %SOURCE3 %{buildroot}/usr/lib/systemd/user/
+ln -s ../e17_early.service %{buildroot}/usr/lib/systemd/user/core-efl.target.wants/e17_early.service
%files
%manifest e17.manifest