From 368675fe5ef53c2143f623394ff3c44aef6dd6c2 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Mon, 25 May 2020 19:22:36 +0200 Subject: [PATCH] Fix build failures. * Skip el8 target to avoid the following error. "error: one or more PCH files were found, but they were invalid". * Set %_without_hardening_test macro to avoid checksec error on f30. --- ruby.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ruby.yaml b/ruby.yaml index 3935c2c..c4e27fb 100644 --- a/ruby.yaml +++ b/ruby.yaml @@ -19,9 +19,9 @@ data: dependencies: - buildrequires: # platform: [] is recommended. - platform: [] + platform: [-el8] requires: - platform: [] + platform: [-el8] components: # SRPMs rpms: @@ -66,6 +66,8 @@ data: macros: | # To disable tests in several packages. %_without_tests 1 + # To avoid the error by rpms/ruby `checksec --file` on f30. + %_without_hardening_test 1 api: # RPMs # From *.spec %package