Use license macro in spec file 89/120489/1 accepted/tizen/common/20170323.154441 accepted/tizen/ivi/20170323.085126 accepted/tizen/mobile/20170323.085036 accepted/tizen/tv/20170323.085052 accepted/tizen/unified/20170323.085145 accepted/tizen/wearable/20170323.085107 submit/tizen/20170323.063443
authorHaejeong Kim <backto.kim@samsung.com>
Thu, 23 Mar 2017 06:05:11 +0000 (15:05 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Thu, 23 Mar 2017 06:05:11 +0000 (15:05 +0900)
Change-Id: I3bffe3d1f3af0432ea89e1fb5d0fca31d53cda1e

packaging/libmedia-service.spec

index 2f80acd..cc00837 100644 (file)
@@ -48,10 +48,6 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 %make_install
 
-#License
-mkdir -p %{buildroot}/%{_datadir}/license
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -69,7 +65,7 @@ cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/
 %{_libdir}/libmedia-content-plugin.so.1.0.0
 
 #License
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2.0
 
 %files devel
 %manifest %{name}.manifest