summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2017-03-23 19:24:07 +0900
committerJiyong Min <jiyong.min@samsung.com>2017-03-23 20:06:15 +0900
commit4115004d7d14e8e16f0a3010d7fd52a959ac1e92 (patch)
tree74d0a6e42ca7e4b2216c3d382d28123ff0773fc0
parentb823bfe94f4b2f14206a81d1ae07010eb94675df (diff)
downloadmedia-controller-4115004d7d14e8e16f0a3010d7fd52a959ac1e92.tar.gz
media-controller-4115004d7d14e8e16f0a3010d7fd52a959ac1e92.tar.bz2
media-controller-4115004d7d14e8e16f0a3010d7fd52a959ac1e92.zip
Change-Id: Ieb99fa3c776098ee24b38f098d7e44deb0f86074 Signed-off-by: jiyong.min <jiyong.min@samsung.com>
-rwxr-xr-xpackaging/capi-media-controller.spec9
1 files changed, 3 insertions, 6 deletions
diff --git a/packaging/capi-media-controller.spec b/packaging/capi-media-controller.spec
index c98fff6..2be66e2 100755
--- a/packaging/capi-media-controller.spec
+++ b/packaging/capi-media-controller.spec
@@ -62,9 +62,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/%{_datadir}/license
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/mediacontroller
# Daemon & socket activation
mkdir -p %{buildroot}%{_unitdir}
@@ -86,17 +83,17 @@ cp -f %{SOURCE5} %{buildroot}%{upgrade_script_path}
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/*.so.*
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2.0
%files -n mediacontroller
+%manifest media-controller-service.manifest
%defattr(-,root,root,-)
%{_bindir}/mediacontroller
-%manifest media-controller-service.manifest
%{_unitdir}/mediacontroller.service
%{_unitdir}/mediacontroller.socket
%{_unitdir}/sockets.target.wants/mediacontroller.socket
-%{_datadir}/license/mediacontroller
%{upgrade_script_path}/500.media-controller.upgrade.sh
+%license LICENSE.APLv2.0
%files devel
%{_libdir}/*.so