#Generated from fake_ftp-0.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name fake_ftp Name: rubygem-%{gem_name} Version: 0.3.0 Release: 17%{?dist} Summary: Creates a fake FTP server for use in testing License: MIT URL: http://rubygems.org/gems/fake_ftp Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) Requires: ruby(rubygems) >= 1.3.6 BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.3.6 BuildRequires: ruby BuildRequires: rubygem(coderay) BuildRequires: rubygem(net-ftp) BuildRequires: rubygem(rspec) BuildArch: noarch %description Testing FTP? Use this! %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %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} # We are not interested in code coverage. sed -i "/require 'simplecov'/ s/^/#/" spec/spec_helper.rb # Increase timeout to make the test suite pass. sed -i "s/timeout: 5,/timeout: 60,/" spec/spec_helper.rb FUNCTIONAL_SPECS=1 INTEGRATION_SPECS=1 rspec -rspec_helper spec popd %files %dir %{gem_instdir} %{gem_libdir} %{gem_spec} %exclude %{gem_cache} %doc %{gem_instdir}/README.md %exclude %{gem_instdir}/.* %files doc %doc %{gem_docdir} %{gem_instdir}/spec %{gem_instdir}/Rakefile %{gem_instdir}/Gemfile %{gem_instdir}/Guardfile %{gem_instdir}/fake_ftp.gemspec %doc %{gem_instdir}/CONTRIBUTORS.md %doc %{gem_instdir}/CHANGELOG.md %license %{gem_instdir}/LICENSE.md %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.3.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.3.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.3.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Apr 12 2022 Vít Ondruch - 0.3.0-11 - Add `BR: rubygem(net-ftp)` to fix FTBFS. * Fri Jan 21 2022 Fedora Release Engineering - 0.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 24 2020 Tomas Hrcka - 0.3.0-6 - Raise timeout in the test suite to pass in koji environment * Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 25 2019 Vít Ondruch - 0.3.0-3 - Enable test suite. * Sat Feb 02 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 21 2019 TOmas Hrcka - 0.3.0-1 - Update to latest upstream release * Sat Jul 14 2018 Fedora Release Engineering - 0.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 17 2015 Tomas Hrcka - 0.1.1-2 - Move CONTRIBUTORS.md to doc subpackage - Fixed description - Removed trailing whitespace * Thu Feb 12 2015 Tomas Hrcka - 0.1.1-1 - Initial package