Update spec file for license macro 05/121105/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 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_9.0_unified accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_unified accepted/tizen_wearable 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 tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_9.0 accepted/tizen/4.0/unified/20170816.013017 accepted/tizen/4.0/unified/20170828.223006 accepted/tizen/5.0/unified/20181102.031008 accepted/tizen/5.5/unified/20191031.012453 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074648 accepted/tizen/5.5/unified/wearable/hotfix/20201027.101010 accepted/tizen/6.0/unified/20201030.111006 accepted/tizen/6.0/unified/hotfix/20201102.234119 accepted/tizen/6.0/unified/hotfix/20201103.051849 accepted/tizen/6.5/unified/20211029.014413 accepted/tizen/7.0/unified/20221110.062741 accepted/tizen/7.0/unified/hotfix/20221116.111055 accepted/tizen/8.0/unified/20231005.095143 accepted/tizen/9.0/unified/20241030.235108 accepted/tizen/common/20170328.140721 accepted/tizen/ivi/20170328.060948 accepted/tizen/mobile/20170328.060830 accepted/tizen/tv/20170328.060856 accepted/tizen/unified/20170328.061013 accepted/tizen/wearable/20170328.060923 submit/tizen/20170328.014307 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100006 submit/tizen_5.0/20181101.000007 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 submit/tizen_6.5/20211028.163501 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 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 27 Mar 2017 06:59:45 +0000 (15:59 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 27 Mar 2017 07:00:16 +0000 (16:00 +0900)
Change-Id: I66ee784158d32b18306e2b4891b219336ad6721a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/zbar.spec

index 045a4bd..9442d6d 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:           zbar
 Version:        0.10
-Release:        22
+Release:        23
 Summary:        Bar code reader
 Group:          Development/Libraries
 License:        LGPL-2.1+
@@ -53,7 +53,6 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-mkdir -p $RPM_BUILD_ROOT/usr/share/license/%{name}
 
 #Remove .la and .a files
 find ${RPM_BUILD_ROOT} -name '*.la' -or -name '*.a' | xargs rm -f
@@ -79,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
 #%{_bindir}/zbarimg
 #%{_bindir}/zbarcam
 %{_libdir}/libzbar.so.*
-%{_datadir}/license/%{name}
+%license LICENSE
 #%{_mandir}/man1/*