Use %license macro to copy license 18/120218/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen/common/20170404.142444 accepted/tizen/ivi/20170403.130059 accepted/tizen/mobile/20170403.125735 accepted/tizen/tv/20170403.125844 accepted/tizen/unified/20170403.130137 submit/tizen/20170403.050513 tizen_4.0.m1_release
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 22 Mar 2017 06:32:19 +0000 (15:32 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 22 Mar 2017 09:12:36 +0000 (18:12 +0900)
Use %{_bindir} macro

Change-Id: I0dc5c38119ac874586843991cbe27aef107b4b8c

LICENSE.APLv2 [moved from LICENSE.APLv2.0 with 100% similarity]
packaging/capi-media-video-util.spec

similarity index 100%
rename from LICENSE.APLv2.0
rename to LICENSE.APLv2
index a1f6fd7..91c71c9 100755 (executable)
@@ -42,10 +42,8 @@ make %{?jobs:-j%jobs}
 
 %install
 %make_install
 
 %install
 %make_install
-mkdir -p %{buildroot}/%{_datadir}/license
-mkdir -p %{buildroot}/usr/bin
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
-cp test/video_util_test %{buildroot}/usr/bin/
+mkdir -p %{buildroot}%{_bindir}
+cp test/video_util_test %{buildroot}%{_bindir}
 
 %post
 
 
 %post
 
@@ -54,8 +52,8 @@ cp test/video_util_test %{buildroot}/usr/bin/
 %files
 %manifest %{name}.manifest
 %{_libdir}/lib*.so.*
 %files
 %manifest %{name}.manifest
 %{_libdir}/lib*.so.*
-%{_datadir}/license/%{name}
-/usr/bin/*
+%license LICENSE.APLv2
+%{_bindir}/*
 
 %files devel
 %manifest %{name}.manifest
 
 %files devel
 %manifest %{name}.manifest