File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ gpg_name: 'info@puppetlabs.com'
99gpg_key : ' 4BD6EC30'
1010sign_tar : FALSE
1111# a space separated list of mock configs
12- final_mocks : ' pl-el-5-i386 pl-el-5-x86_64 pl-el-6-i386 pl-el-6-x86_64 pl-fedora-18-i386 pl-fedora-18-x86_64 pl-fedora-19-i386 pl-fedora-19-x86_64 pl-fedora-20-i386 pl-fedora-20-x86_64'
12+ final_mocks : ' pl-el-5-i386 pl-el-5-x86_64 pl-el-6-i386 pl-el-6-x86_64 pl-el-7-x86_64 pl- fedora-18-i386 pl-fedora-18-x86_64 pl-fedora-19-i386 pl-fedora-19-x86_64 pl-fedora-20-i386 pl-fedora-20-x86_64'
1313yum_host : ' yum.puppetlabs.com'
1414yum_repo_path : ' /opt/repository/yum/'
1515build_gem : TRUE
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
22# of sitelibdir
3- %if 0%{?fedora} > = 17
3+ %if 0%{?fedora} > = 17 || 0%{?rhel} > = 7
44%global facter_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]')
55%else
66%global facter_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')
@@ -35,8 +35,8 @@ Requires: virt-what
3535Requires: ruby > = 1.8.5
3636BuildRequires: ruby > = 1.8.5
3737
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
4040BuildRequires: rubygem-rdoc
4141%else
4242BuildRequires: ruby-rdoc
You can’t perform that action at this time.
0 commit comments