# Generated from connection_pool-2.2.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name connection_pool Name: rubygem-%{gem_name} Version: 2.2.5 Release: 6%{?dist} Summary: Generic connection pool for Ruby License: MIT URL: https://github.com/mperham/connection_pool Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(minitest) BuildArch: noarch %description Generic connection pool for Ruby. %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}/ # Run the test suite %check pushd .%{gem_instdir} ruby -Ilib -e 'Dir.glob "./test/test_*.rb", &method(:require)' popd %files %dir %{gem_instdir} %doc %{gem_instdir}/README.md %doc %{gem_instdir}/Changes.md %{gem_libdir} %{gem_spec} %license %{gem_instdir}/LICENSE %exclude %{gem_instdir}/.* %exclude %{gem_cache} %exclude %{gem_instdir}/connection_pool.gemspec %files doc %doc %{gem_docdir} %{gem_instdir}/Rakefile %{gem_instdir}/test %{gem_instdir}/Gemfile %changelog * Fri Jul 21 2023 Fedora Release Engineering - 2.2.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.2.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Pavel Valena - 2.2.5-1 - Update to connection_pool 2.2.5. Resolves: rhbz#1948549 * Wed Jan 27 2021 Fedora Release Engineering - 2.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 22 00:11:55 GMT 2020 Pavel Valena - 2.2.3-1 - Update to connection_pool 2.2.3. Resolves: rhbz#1843247 * Wed Jul 29 2020 Fedora Release Engineering - 2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Dec 20 2019 Tom Callaway - 2.2.2-1 - update to 2.2.2 * Sat Dec 19 2015 Ilya Gradina - 2.2.0-2 - trivial fixes in spec * Tue Sep 29 2015 Ilya Gradina - 2.2.0-1 - Initial package