[rubygem-net-ssh] Update to 2.2.1-1
Shreyank Gupta
shreyankg at fedoraproject.org
Sun Dec 4 15:53:07 UTC 2011
commit 12644502cbdcc743e0a1dfd244bdac814f257d27
Author: Shreyank Gupta <sgupta at redhat.com>
Date: Sun Dec 4 21:22:59 2011 +0530
Update to 2.2.1-1
.gitignore | 1 +
rubygem-net-ssh.spec | 47 ++++++++++++++++++++++++++++-------------------
sources | 2 +-
3 files changed, 30 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c9696d4..2ea46cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
net-ssh-2.0.23.gem
+/net-ssh-2.2.1.gem
diff --git a/rubygem-net-ssh.spec b/rubygem-net-ssh.spec
index 55634ac..64257bf 100644
--- a/rubygem-net-ssh.spec
+++ b/rubygem-net-ssh.spec
@@ -1,50 +1,56 @@
-# Generated from net-ssh-2.0.23.gem by gem2rpm -*- rpm-spec -*-
+# Generated from net-ssh-2.2.1.gem by gem2rpm -*- rpm-spec -*-
+%global gemname net-ssh
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%global gemname net-ssh
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
Summary: Net::SSH: a pure-Ruby implementation of the SSH2 client protocol
Name: rubygem-%{gemname}
-Version: 2.0.23
-Release: 6%{?dist}
+Version: 2.2.1
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/net-ssh/net-ssh
-Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
-
-Requires: ruby(abi) = 1.8
-Requires: rubygems
-BuildRequires: ruby
-BuildRequires: rubygems
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+Requires: ruby
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems)
BuildRequires: rubygem(rake)
BuildRequires: rubygem(mocha)
+BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
+%description
+Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.
+
+
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: rubygem(mocha)
-Requires:%{name} = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
%description doc
Documentation for %{name}
-%description
-Net::SSH: a pure-Ruby implementation of the SSH2 client protocol.
-
%prep
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+ --force %{SOURCE0}
%build
%install
-
mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
- --force --rdoc %{SOURCE0}
-
+cp -a .%{gemdir}/* \
+ %{buildroot}%{gemdir}/
# file-not-utf8 correction
@@ -61,9 +67,9 @@ sed -i -e '/test-unit/, 1d' %{buildroot}%{geminstdir}/test/common.rb
pushd %{buildroot}%{geminstdir}
ruby -Ilib -Itest -rrubygems test/test_all.rb
-rake test --trace
popd
+
%files
%defattr(-, root, root, -)
%dir %{geminstdir}
@@ -87,6 +93,9 @@ popd
%{geminstdir}/net-ssh.gemspec
%changelog
+* Sun Dec 04 2011 Shreyank Gupta <sgupta at redhat.com> - 2.2.1-1
+- Updated to version 2.2.1-1
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.23-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 7a8a8b6..ccb242e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14d51aab0ac31f2af9646236a6af848e net-ssh-2.0.23.gem
+36d1cd51af81d50bf5ce05a574417ce8 net-ssh-2.2.1.gem
More information about the scm-commits
mailing list