From: Haejeong Kim Date: Thu, 23 Mar 2017 06:05:11 +0000 (+0900) Subject: Use license macro in spec file X-Git-Tag: submit/tizen/20170323.063443^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3b9c20267d7a25fc4a16690c60c3115fc3cd54c;p=platform%2Fcore%2Fmultimedia%2Flibmedia-service.git Use license macro in spec file Change-Id: I3bffe3d1f3af0432ea89e1fb5d0fca31d53cda1e --- diff --git a/packaging/libmedia-service.spec b/packaging/libmedia-service.spec index 2f80acd..cc00837 100644 --- a/packaging/libmedia-service.spec +++ b/packaging/libmedia-service.spec @@ -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