[rubygem-fog-brightbox/epel7] Update spec to work in EPEL7

tdawson tdawson at fedoraproject.org
Mon Dec 22 17:34:54 UTC 2014


commit 61435d8d0b80e7a8188835818216104aac6d409f
Author: Troy Dawson <tdawson at redhat.com>
Date:   Mon Dec 22 11:34:49 2014 -0600

    Update spec to work in EPEL7

 rubygem-fog-brightbox.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-fog-brightbox.spec b/rubygem-fog-brightbox.spec
index 174f4b4..36b8bab 100644
--- a/rubygem-fog-brightbox.spec
+++ b/rubygem-fog-brightbox.spec
@@ -3,12 +3,16 @@
 
 Name: rubygem-%{gem_name}
 Version: 0.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Module for `fog` or standalone provider to use the Brightbox Cloud
 Group: Development/Languages
 License: MIT
 URL: https://github.com/brightbox/fog-brightbox
 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(release)
+Requires: ruby(rubygems)
+Requires: rubygem((fog-core)
+Requires: rubygem(fog-json)
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
@@ -16,6 +20,7 @@ BuildRequires: rubygem(fog-core)
 BuildRequires: rubygem(fog-json)
 BuildRequires: rubygem(minitest)
 BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
 
 %description
 Module for the 'fog' gem to support Brightbox Cloud.
@@ -76,5 +81,8 @@ popd
 
 
 %changelog
+* Mon Dec 22 2014 Troy Dawson <tdawson at redhat.com> - 0.0.2-2
+- Update spec to work in EPEL7
+
 * Fri May 23 2014 Vít Ondruch <vondruch at redhat.com> - 0.0.2-1
 - Initial package


More information about the scm-commits mailing list