Change file extract command 39/211439/1 accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv accepted/tizen/5.5/base/20191030.082036 accepted/tizen/5.5/base/mobile/hotfix/20201023.084428 accepted/tizen/5.5/base/wearable/hotfix/20201023.080823 accepted/tizen/base/20190805.091729 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_base/20190805.034011 tizen_5.5.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 5 Aug 2019 03:34:09 +0000 (12:34 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 5 Aug 2019 03:36:43 +0000 (12:36 +0900)
 - fix build error at asan build

   command : tar -zxvf source.tar.gz
   error   : gzip: stdin: invalid compressed data--crc error

Change-Id: I4795f7c885ccfb9f9eb4dc6a584d3153a79fc571
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/golang.spec

index cab41ef..e8e06bd 100644 (file)
@@ -230,19 +230,19 @@ Requires:       %{name} = %{version}-%{release}
 %setup -q
 
 %ifarch %{ix86}
-tar -zxvf  %{SOURCE10}
+gzip -dc %{SOURCE10} | tar -xvf -
 %endif
 
 %ifarch x86_64
-tar -zxvf  %{SOURCE11}
+gzip -dc %{SOURCE11} | tar -xvf -
 %endif
 
 %ifarch %{arm}
-tar -zxvf  %{SOURCE12}
+gzip -dc %{SOURCE12} | tar -xvf -
 %endif
 
 %ifarch aarch64
-tar -zxvf  %{SOURCE13}
+gzip -dc %{SOURCE13} | tar -xvf -
 %endif
 
 pushd go