File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- # Fedora 17 ships with ruby 1.9, which uses vendorlibdir instead
1
+ # Fedora 17 ships with ruby 1.9, RHEL 7 with ruby 2.0, which use vendorlibdir instead
2
2
# of sitelibdir
3
- %if 0%{?fedora} > = 17
3
+ %if 0%{?fedora} > = 17 || 0%{?rhel} > = 7
4
4
%global facter_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]')
5
5
%else
6
6
%global facter_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')
@@ -35,8 +35,8 @@ Requires: virt-what
35
35
Requires: ruby > = 1.8.5
36
36
BuildRequires: ruby > = 1.8.5
37
37
38
- # In Fedora 17 ruby-rdoc is called rubygem-rdoc
39
- %if 0%{?fedora} > = 17
38
+ # In Fedora 17+ or RHEL 7+ ruby-rdoc is called rubygem-rdoc
39
+ %if 0%{?fedora} > = 17 || 0%{?rhel} > = 7
40
40
BuildRequires: rubygem-rdoc
41
41
%else
42
42
BuildRequires: ruby-rdoc
You can’t perform that action at this time.
0 commit comments