%global gem_name net-scp Summary: A pure Ruby implementation of the SCP client protocol Name: rubygem-%{gem_name} Version: 1.2.1 Release: 10%{?dist} License: MIT URL: https://github.com/net-ssh/net-scp Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem # Fix test broken due to Net::SSH 4.0+. # https://github.com/net-ssh/net-scp/pull/30 Patch0: net-scp-1.2.1-Fix-compatiblity-with-net-ssh-4.0.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(net-ssh) BuildRequires: rubygem(mocha) BuildRequires: rubygem(test-unit) BuildArch: noarch %description A pure Ruby implementation of the SCP client protocol %package doc Summary: Documentation for %{name} Requires:%{name} = %{version}-%{release} %description doc Documentation for %{name} %prep %setup -q -c -T %gem_install -n %{SOURCE0} pushd .%{gem_instdir} %patch0 -p1 popd %build %install mkdir -p %{buildroot}%{gem_dir} cp -pa .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} ruby -Itest test/test_all.rb popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.travis.yml %{gem_libdir} %doc %{gem_instdir}/LICENSE.txt %exclude %{gem_cache} %{gem_spec} %files doc %{gem_instdir}/Manifest %{gem_instdir}/Rakefile %{gem_instdir}/net-scp.gemspec %{gem_instdir}/gem-public_cert.pem %exclude %{gem_instdir}/setup.rb %doc %{gem_instdir}/README.rdoc %doc %{gem_instdir}/CHANGES.txt %{gem_instdir}/test %doc %{gem_docdir} %changelog * Sat Feb 02 2019 Fedora Release Engineering - 1.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Feb 27 2017 Vít Ondruch - 1.2.1-6 - Fix FTBFS due to Net::SSH 4.0+ changes. * Sat Feb 11 2017 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Aug 11 2016 Vít Ondruch - 1.2.1-4 - Fix FTBFS due to incompatibility with latest net-ssh. * Thu Feb 04 2016 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Jun 17 2014 Vít Ondruch - 1.2.1-1 - Update to net-scp 1.2.1. * Sun Jun 08 2014 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 09 2013 Vít Ondruch - 1.1.0-1 - Update to net-scp 1.1.0. * Fri Mar 08 2013 Vít Ondruch - 1.0.4-7 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Thu Feb 14 2013 Fedora Release Engineering - 1.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jan 31 2012 Bohuslav Kabrda - 1.0.4-4 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Mar 17 2011 Vít Ondruch - 1.0.4-2 - Removed obsolete cleanup. - Removed explicit requires. * Tue Feb 08 2011 Vít Ondruch - 1.0.4-1 - Initial package