Using %license macro to install license file instead of using manual command. 97/126997/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_4.0 tizen_4.0_tv tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/4.0/unified/20170816.013847 accepted/tizen/4.0/unified/20170828.222536 accepted/tizen/5.0/unified/20181102.025350 accepted/tizen/5.5/unified/20191031.010208 accepted/tizen/5.5/unified/mobile/hotfix/20201027.063344 accepted/tizen/5.5/unified/wearable/hotfix/20201027.103150 accepted/tizen/6.0/unified/20201030.110802 accepted/tizen/6.0/unified/hotfix/20201102.233705 accepted/tizen/6.0/unified/hotfix/20201103.051540 accepted/tizen/unified/20170519.200913 submit/tizen/20170519.132143 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100005 submit/tizen_5.0/20181101.000006 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 submit/tizen_5.5_wearable_hotfix/20201026.184306 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release tizen_6.0.m2_release
authorWoochan Lee <wc0917.lee@samsung.com>
Tue, 25 Apr 2017 12:44:47 +0000 (21:44 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Tue, 25 Apr 2017 12:45:00 +0000 (21:45 +0900)
Change-Id: I3ae09bcbdb3b88f5f1f8e40f92391820e92231fe

packaging/hyphen.spec

index ee7cd94..6e548cf 100644 (file)
@@ -52,8 +52,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 
 %makeinstall gnulocaledir=$RPM_BUILD_ROOT%{_datadir}/locale
-mkdir -p %{buildroot}/usr/share/license
-cat COPYING COPYING.LGPL > %{buildroot}/usr/share/license/%{name}
 
 # Don't package static a or .la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
@@ -67,7 +65,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
 %defattr(-,root,root,-)
 %{_libdir}/libhyphen.so.*
 %{_datadir}/hyphen/hyph_en_US.dic
-/usr/share/license/%{name}
+%license COPYING COPYING.LGPL
 
 %files tools
 %manifest %{name}.manifest