[rubygem-openscap] Use rake from SCL

Šimon Lukašík isimluk at fedoraproject.org
Thu Dec 4 13:29:28 UTC 2014


commit 7fc3b4304aa128adb3b48b6edd056afc4e58c994
Author: Šimon Lukašík <slukasik at redhat.com>
Date:   Thu Dec 4 14:28:32 2014 +0100

    Use rake from SCL
    
    Addressing (failure in COPR):
    + rake test
    line 30: rake: command not found

 rubygem-openscap.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-openscap.spec b/rubygem-openscap.spec
index 218c8f6..03ec883 100644
--- a/rubygem-openscap.spec
+++ b/rubygem-openscap.spec
@@ -77,7 +77,9 @@ gem install --local --install-dir .%{gem_dir} \
 %{?scl:"}
 
 %check
+%{?scl:scl enable %{scl} "}
 rake test
+%{?scl:"}
 
 %install
 mkdir -p %{buildroot}%{gem_dir}


More information about the scm-commits mailing list