Cleanup the license script in the spec 61/94461/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 31 Oct 2016 04:39:05 +0000 (13:39 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 31 Oct 2016 04:39:05 +0000 (13:39 +0900)
Change-Id: I78cc55675c4c402b258579f85dc0f6588ba24d46
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
packaging/motion.spec

index 0dc8083f87f1b8ae9534da4c160a76adcc632233..0bb75bab788ef62b6ccee2a960ba2dc05f555964 100644 (file)
@@ -51,8 +51,6 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 %make_install
 
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
 # For backward compatibility
 ln -s ./%{name}.pc %{buildroot}/%{_libdir}/pkgconfig/libcore-context-manager.pc
 
@@ -66,7 +64,7 @@ ln -s ./%{name}.pc %{buildroot}/%{_libdir}/pkgconfig/libcore-context-manager.pc
 %manifest packaging/%{name}.manifest
 %defattr(-,root,root,-)
 %{_libdir}/*.so*
-/usr/share/license/%{name}
+%license LICENSE
 
 %package devel
 Summary:       Tizen Native Motion Recognition API (Development)