Repair collecting files for testresults rpm package. 99/184099/2 accepted/tizen/base/20180720.112000 submit/tizen_base/20180719.091532
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Fri, 13 Jul 2018 14:05:21 +0000 (17:05 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 19 Jul 2018 09:14:23 +0000 (09:14 +0000)
Different .log files with the same name from gmp/mpfr are overwriting on copy,
put the in the separate directories.

Change-Id: I77761f1ff589252b4e8816dc12e9025d360fc5a0

packaging/gcc-aarch64.spec
packaging/gcc-armv7hl.spec
packaging/gcc-armv7l.spec
packaging/linaro-gcc.spec

index de57a4a..8b48e63 100644 (file)
@@ -819,8 +819,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 %{?gcc_run_tests:
   cp `find . -name "*.sum"` ../testresults/
-  cp `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
-  chmod 644 ../testresults/*
+  cp --parents `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
+  chmod 644 `find ../testresults/ -type f`
 }
 
 %{remove_docs}
@@ -1062,7 +1062,7 @@ mv -v libsanitizer.tar.bz %{buildroot}/src
 %defattr(-,root,root)
 %doc testresults/test_summary.txt
 %doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
 }
 %ifarch x86_64
 %files -n gcc-32bit
index c72d024..7a7e3d7 100644 (file)
@@ -819,8 +819,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 %{?gcc_run_tests:
   cp `find . -name "*.sum"` ../testresults/
-  cp `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
-  chmod 644 ../testresults/*
+  cp --parents `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
+  chmod 644 `find ../testresults/ -type f`
 }
 
 %{remove_docs}
@@ -1062,7 +1062,7 @@ mv -v libsanitizer.tar.bz %{buildroot}/src
 %defattr(-,root,root)
 %doc testresults/test_summary.txt
 %doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
 }
 %ifarch x86_64
 %files -n gcc-32bit
index 6a8604d..83cb8ca 100644 (file)
@@ -819,8 +819,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 %{?gcc_run_tests:
   cp `find . -name "*.sum"` ../testresults/
-  cp `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
-  chmod 644 ../testresults/*
+  cp --parents `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
+  chmod 644 `find ../testresults/ -type f`
 }
 
 %{remove_docs}
@@ -1062,7 +1062,7 @@ mv -v libsanitizer.tar.bz %{buildroot}/src
 %defattr(-,root,root)
 %doc testresults/test_summary.txt
 %doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
 }
 %ifarch x86_64
 %files -n gcc-32bit
index 3dd714e..c21edda 100644 (file)
@@ -816,8 +816,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 %{?gcc_run_tests:
   cp `find . -name "*.sum"` ../testresults/
-  cp `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
-  chmod 644 ../testresults/*
+  cp --parents `find . -name "*.log"  \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/
+  chmod 644 `find ../testresults/ -type f`
 }
 
 %{remove_docs}
@@ -1059,7 +1059,7 @@ mv -v libsanitizer.tar.bz %{buildroot}/src
 %defattr(-,root,root)
 %doc testresults/test_summary.txt
 %doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
 }
 %ifarch x86_64
 %files -n gcc-32bit