| |
@@ -2,15 +2,14 @@
|
| |
%global gem_name net-ssh
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 5.0.2
|
| |
+ Version: 5.1.0
|
| |
Release: 1%{?dist}
|
| |
Summary: Net::SSH: a pure-Ruby implementation of the SSH2 client protocol
|
| |
- Group: Development/Languages
|
| |
License: MIT
|
| |
URL: https://github.com/net-ssh/net-ssh
|
| |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
| |
# git clone https://github.com/net-ssh/net-ssh.git && cd net-ssh
|
| |
- # git checkout v5.0.2 && tar cJvf net-ssh-5.0.2-tests.tar.xz test/
|
| |
+ # git checkout v5.1.0 && tar cJvf net-ssh-5.1.0-tests.tar.xz test/
|
| |
Source1: %{gem_name}-%{version}-tests.tar.xz
|
| |
BuildRequires: ruby(release)
|
| |
BuildRequires: rubygems-devel
|
| |
@@ -27,7 +26,6 @@
|
| |
|
| |
%package doc
|
| |
Summary: Documentation for %{name}
|
| |
- Group: Documentation
|
| |
Requires: %{name} = %{version}-%{release}
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -35,19 +33,19 @@
|
| |
Documentation for %{name}.
|
| |
|
| |
%prep
|
| |
- %setup -q -c -T
|
| |
- %gem_install -n %{SOURCE0}
|
| |
+ %setup -q -n %{gem_name}-%{version}
|
| |
|
| |
- %gemspec_add_dep -s .%{gem_spec} -g openssl
|
| |
+ %gemspec_add_dep -g openssl
|
| |
|
| |
%build
|
| |
+ gem build ../%{gem_name}-%{version}.gemspec
|
| |
+ %gem_install
|
| |
|
| |
%install
|
| |
mkdir -p %{buildroot}%{gem_dir}
|
| |
cp -a .%{gem_dir}/* \
|
| |
%{buildroot}%{gem_dir}/
|
| |
|
| |
-
|
| |
%check
|
| |
pushd .%{gem_instdir}
|
| |
tar xvf %{SOURCE1}
|
| |
@@ -84,6 +82,9 @@
|
| |
%exclude %{gem_instdir}/net-ssh-public_cert.pem
|
| |
|
| |
%changelog
|
| |
+ * Wed Jan 23 2019 Pavel Valena <pvalena@redhat.com> - 5.1.0-1
|
| |
+ - Update to net-ssh 5.1.0.
|
| |
+
|
| |
* Mon Sep 24 2018 pvalena <pvalena@redhat.com> - 5.0.2-1
|
| |
- Update to net-ssh 5.0.2.
|
| |
|
| |
also enhance .spec file.
WIP: please do not merge yet
https://copr.fedorainfracloud.org/coprs/build/849428/