%{?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}
%defattr(-,root,root)
%doc testresults/test_summary.txt
%doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
}
%ifarch x86_64
%files -n gcc-32bit
%{?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}
%defattr(-,root,root)
%doc testresults/test_summary.txt
%doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
}
%ifarch x86_64
%files -n gcc-32bit
%{?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}
%defattr(-,root,root)
%doc testresults/test_summary.txt
%doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
}
%ifarch x86_64
%files -n gcc-32bit
%{?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}
%defattr(-,root,root)
%doc testresults/test_summary.txt
%doc testresults/*.sum
-%doc testresults/*.log
+%doc testresults/
}
%ifarch x86_64
%files -n gcc-32bit