[rubygem-net-ssh-gateway/epel7] Import to EPEL7 branch from F19 branch

tdawson tdawson at fedoraproject.org
Tue Aug 12 13:16:25 UTC 2014


commit b3ca538a9970ece1cc4023ae3a1d008c86b121cf
Author: Troy Dawson <tdawson at redhat.com>
Date:   Tue Aug 12 08:16:25 2014 -0500

    Import to EPEL7 branch from F19 branch

 rubygem-net-ssh-gateway.spec |   19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/rubygem-net-ssh-gateway.spec b/rubygem-net-ssh-gateway.spec
index 46ace27..2c92ca0 100644
--- a/rubygem-net-ssh-gateway.spec
+++ b/rubygem-net-ssh-gateway.spec
@@ -4,18 +4,22 @@
 Summary: A simple library to assist in establishing tunneled Net::SSH connections
 Name: rubygem-%{gem_name}
 Version: 1.2.0
-Release: 4%{?dist}
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: https://github.com/net-ssh/net-scp
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(release)
+Requires: ruby(rubygems) >= 1.2
+Requires: rubygem(net-ssh) >= 2.6.5
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
 BuildRequires: rubygem(net-ssh) >= 2.6.5
 BuildRequires: rubygem(mocha)
-BuildRequires: rubygem(test-unit)
+BuildRequires: rubygem(minitest)
 BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
 
 %description
 A simple library to assist in establishing tunneled Net::SSH connections
@@ -44,7 +48,7 @@ cp -a .%{gem_dir}/* \
 
 %check
 pushd .%{gem_instdir}
-ruby -Ilib -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
+RUBYOPT="-Ilib" testrb test/*_test.rb
 popd
 
 %files
@@ -67,15 +71,6 @@ popd
 
 
 %changelog
-* Tue Jun 17 2014 Vít Ondruch <vondruch at redhat.com> - 1.2.0-4
-- Fix FTBFS in Rawhide (rhbz#1107178).
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
 * Thu May 09 2013 Vít Ondruch <vondruch at redhat.com> - 1.2.0-1
 - Update to net-ssh-gateway 1.2.0.
 


More information about the scm-commits mailing list