[rubygem-minitest-stub-const/epel7] update spec to work in EPEL7

tdawson tdawson at fedoraproject.org
Fri Dec 19 17:04:03 UTC 2014


commit a0c27b5316a70578ee5bf797a6e76d866ef49462
Author: Troy Dawson <tdawson at redhat.com>
Date:   Fri Dec 19 11:03:55 2014 -0600

    update spec to work in EPEL7

 rubygem-minitest-stub-const.spec |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/rubygem-minitest-stub-const.spec b/rubygem-minitest-stub-const.spec
index 6651f1e..f4e834e 100644
--- a/rubygem-minitest-stub-const.spec
+++ b/rubygem-minitest-stub-const.spec
@@ -1,19 +1,22 @@
 # Generated from minitest-stub-const-0.1.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name minitest-stub-const
 
-Name: rubygem-%{gem_name}
-Version: 0.1
-Release: 2%{?dist}
-Summary: Stub constants for the duration of a block in MiniTest
-Group: Development/Languages
-License: MIT
-URL: https://github.com/adammck/minitest-stub-const
-Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Name:          rubygem-%{gem_name}
+Version:       0.1
+Release:       3%{?dist}
+Summary:       Stub constants for the duration of a block in MiniTest
+Group:         Development/Languages
+License:       MIT
+URL:           https://github.com/adammck/minitest-stub-const
+Source0:       https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires:      ruby(release)
+Requires:      ruby(rubygems)
+BuildRequires: ruby
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
-BuildRequires: ruby
 BuildRequires: rubygem(minitest)
-BuildArch: noarch
+BuildArch:     noarch
+Provides:      rubygem(%{gem_name}) = %{version}
 
 %description
 Stub constants for the duration of a block in MiniTest.
@@ -65,6 +68,9 @@ popd
 %{gem_instdir}/test
 
 %changelog
+* Fri Dec 19 2014 Troy Dawson <tdawson at redhat.com> - 0.1-3
+- Update spec to work in EPEL7
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list