# Generated from memcache-client-1.8.5.gem by gem2rpm -*- rpm-spec -*- %global gem_name memcache-client Summary: A Ruby library for accessing memcached Name: rubygem-%{gem_name} Version: 1.8.5 Release: 25.2%{?dist} License: BSD URL: http://github.com/mperham/memcache-client Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: rubygems-devel BuildRequires: rubygem(test-unit) BuildRequires: rubygem(flexmock) BuildArch: noarch %description A Ruby library for accessing memcached. %prep %setup -q -c -T %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{_bindir} cp -a ./%{_bindir}/* %{buildroot}%{_bindir} find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} # These tests are instable in between Ruby versions. # https://github.com/petergoldstein/dalli/issues/638 sed -i "/^ assert_equal({'a'=>'0123456789'}, value)$/ s/^/#/" test/test_mem_cache.rb sed -i "/^ @cache.get('foo')$/ s/^/#/" test/test_mem_cache.rb sed -i -r '/test_cache_get_with_failover/,/^ end$/ s/^ assert !s2\.alive\?$/#\0/' test/test_mem_cache.rb # test_benchmark require running memcache server # and test_event_machine requires ruby 1.9 so # not running those now ruby -I "lib/" test/test_mem_cache.rb popd %files %{_bindir}/memcached_top %dir %{gem_instdir} %{gem_instdir}/bin %{gem_libdir} %doc %{gem_docdir} %doc %{gem_instdir}/FAQ.rdoc %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/LICENSE.txt %doc %{gem_instdir}/performance.txt %doc %{gem_instdir}/README.rdoc %doc %{gem_instdir}/Rakefile %doc %{gem_instdir}/test %exclude %{gem_cache} %{gem_spec} %changelog * Sat Jul 23 2022 Fedora Release Engineering - 1.8.5-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.8.5-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.8.5-23 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.8.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.8.5-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.8.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.8.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.8.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.8.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 1.8.5-16 - Escape macros in %%changelog * Thu Jul 27 2017 Fedora Release Engineering - 1.8.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.8.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Nov 25 2016 Vít Ondruch - 1.8.5-13 - Disable some tests to fix FTBFS. * Thu Feb 04 2016 Fedora Release Engineering - 1.8.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.8.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Aug 04 2014 Vít Ondruch - 1.8.5-10 - Fix FTBFS in Rawhide (rhbz#1107162). * Sun Jun 08 2014 Fedora Release Engineering - 1.8.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.8.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 27 2013 Josef Stribny - 1.8.5-7 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 - Change BuildRequires: rubygem-flexmock to rubygem(flexmock) (bz#674413 solved) * Thu Feb 14 2013 Fedora Release Engineering - 1.8.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.8.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Apr 26 2012 Mo Morsi - 1.8.5-4 - updated to ruby 1.9 * Wed Feb 02 2011 Mo Morsi - 1.8.5-3 - Removed %%clean section * Tue Feb 01 2011 Mo Morsi - 1.8.5-2 - Updates to conform to fedora guidelines * Mon Jan 10 2011 Mo Morsi - 1.8.5-1 - Initial package