From f5f048ed492f20455e23387183c0378f40e9b255 Mon Sep 17 00:00:00 2001 From: Haejeong Kim Date: Thu, 23 Mar 2017 14:44:02 +0900 Subject: [PATCH] Use license macro in spec file Change-Id: I4a6f0c03cb4bd4a1701dbacf369495f0b0f9f361 --- packaging/capi-media-metadata-editor.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/capi-media-metadata-editor.spec b/packaging/capi-media-metadata-editor.spec index 31ff102..3f76b49 100755 --- a/packaging/capi-media-metadata-editor.spec +++ b/packaging/capi-media-metadata-editor.spec @@ -40,8 +40,6 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install -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 @@ -49,7 +47,7 @@ cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/ %files %manifest capi-media-metadata-editor.manifest %{_libdir}/libcapi-media-metadata-editor.so -%{_datadir}/license/%{name} +%license LICENSE.APLv2.0 %files devel %{_includedir}/metadata-editor/*.h -- 2.7.4