use %license macro to copy the COPYING file. 28/120228/1 accepted/tizen_common accepted/tizen_wearable accepted/tizen/common/20170331.152530 accepted/tizen/unified/20170329.034230 accepted/tizen/wearable/20170329.034146 submit/tizen/20170328.072410 tizen_4.0.m1_release
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 06:39:31 +0000 (15:39 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 06:39:31 +0000 (15:39 +0900)
Change-Id: I131e03dcae140c8667e6ed1cddeef554d9e5d1d9

packaging/libtbm-exynos-tgm.spec

index 457b4309f41319984a3777f79a22f16e99a859d4..808e2a377b925f11f6749df51fccb477a8761268 100644 (file)
@@ -35,8 +35,6 @@ make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
 
 mkdir -p %{buildroot}%{_libdir}/udev/rules.d/
 cp -af rules/99-libtbm-exynos-tgm.rules %{buildroot}%{_libdir}/udev/rules.d/
@@ -53,5 +51,5 @@ ln -s libtbm-exynos-tgm.so %{_libdir}/bufmgr/libtbm_default.so
 
 %files
 %{_libdir}/bufmgr/libtbm-*.so*
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING
 %{_libdir}/udev/rules.d/99-libtbm-exynos-tgm.rules