From d37adcd860c8810268e121eda10b1081269da325 Mon Sep 17 00:00:00 2001 From: Haejeong Kim Date: Thu, 23 Mar 2017 14:35:05 +0900 Subject: [PATCH] Use license macro in spec file Change-Id: I820533fb3d5646b96ffef17665750769cbf70a8e --- packaging/capi-media-image-util.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packaging/capi-media-image-util.spec b/packaging/capi-media-image-util.spec index fefd6c6..9bdf7fe 100755 --- a/packaging/capi-media-image-util.spec +++ b/packaging/capi-media-image-util.spec @@ -69,8 +69,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %install rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name} %make_install @@ -80,10 +78,10 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name} %files %manifest %{name}.manifest -%{_datadir}/license/%{name} +%license LICENSE.APLv2.0 %{_libdir}/lib*.so.* -%files devel +%files devel %manifest %{name}.manifest %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc @@ -91,5 +89,5 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name} %files tool %manifest %{name}.manifest -%defattr(-,root,root,-) +%defattr(-,root,root,-) %{_bindir}/* -- 2.7.4