[rubygem-puppet-lint/epel7: 17/17] Support building for EPEL7
Russell Harrison
rharrison at fedoraproject.org
Tue Feb 24 19:36:35 UTC 2015
commit 27c5bbf56b02e166ff551e8297d11c0dcc1330d0
Author: Russell Harrison <rharriso at redhat.com>
Date: Tue Feb 24 14:36:22 2015 -0500
Support building for EPEL7
rubygem-puppet-lint.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-puppet-lint.spec b/rubygem-puppet-lint.spec
index 916161b..8e95795 100644
--- a/rubygem-puppet-lint.spec
+++ b/rubygem-puppet-lint.spec
@@ -4,7 +4,7 @@
Name: rubygem-%{gem_name}
Version: 1.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Ensure your Puppet manifests conform with the Puppetlabs style guide
Group: Development/Languages
License: MIT
@@ -12,7 +12,7 @@ URL: http://puppet-lint.com/
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
# Patch already accepted upstream and will be in the next release
# https://github.com/rodjek/puppet-lint/pull/141
-%if 0%{?fedora} >= 19
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
Requires: ruby(release)
BuildRequires: ruby(release)
%else
@@ -102,6 +102,9 @@ chmod a-x %{buildroot}%{gem_instdir}/lib/puppet-lint/bin.rb
%{gem_instdir}/spec
%changelog
+* Tue Feb 24 2015 Russell Harrison <rharrison at fedoraproject.org> 1.1.0-2
+- Support building for EPEL 7
+
* Wed Jan 14 2015 Russell Harrison <rharrison at fedoraproject.org> 1.1.0-1
- Upstream update to 1.1.0
More information about the scm-commits
mailing list