Update to 2.7.6.

epel9
Pavel Valena 8 years ago
parent 9a5769c60c
commit 4b99b09332

2
.gitignore vendored

@ -1,3 +1,5 @@
/dalli-2.6.4.gem
/dalli-2.7.2.gem
/dalli-2.7.4.gem
/dalli-2.7.6.gem
/dalli-2.7.6-tests.tgz

@ -4,13 +4,15 @@
%global enable_test 1
Name: rubygem-%{gem_name}
Version: 2.7.4
Release: 4%{?dist}
Version: 2.7.6
Release: 1%{?dist}
Summary: High performance memcached client for Ruby
Group: Development/Languages
License: MIT
URL: http://github.com/mperham/dalli
URL: https://github.com/petergoldstein/dalli
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone https://github.com/petergoldstein/dalli.git && cd dalli
# git checkout v2.7.6 && tar czvf dalli-2.7.6-tests.tgz test/
Source1: %{gem_name}-%{version}-tests.tgz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
%if 0%{enable_test} > 0
@ -18,10 +20,10 @@ BuildRequires: memcached
BuildRequires: rubygem(minitest)
BuildRequires: rubygem(mocha)
BuildRequires: rubygem(rails)
BuildRequires: rubygem(connection_pool)
%endif
BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
%description
High performance memcached client for Ruby
@ -29,7 +31,6 @@ High performance memcached client for Ruby
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
@ -55,10 +56,8 @@ cp -pa .%{gem_dir}/* \
%check
%if 0%{enable_test} > 0
pushd .%{gem_instdir}
# connection_pool is not yet in Fedora
sed -i -e '3d' test/test_active_support.rb
sed -i -e '491,506d' test/test_active_support.rb
tar xzvf %{SOURCE1}
sed -i '/bundler/ s/^/#/' test/helper.rb
ruby -Ilib:test -e "Dir.glob('./test/test_*.rb').sort.each{ |x| require x }"
popd
%endif
@ -68,20 +67,18 @@ popd
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%doc %{gem_instdir}/LICENSE
%license %{gem_instdir}/LICENSE
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md
%doc %{gem_instdir}/Performance.md
%doc %{gem_instdir}/History.md
%{gem_instdir}/%{gem_name}.gemspec
%{gem_instdir}/Rakefile
%{gem_instdir}/Gemfile
%{gem_instdir}/test
%changelog
* Tue Jun 27 2017 Pavel Valena <pvalena@redhat.com> - 2.7.6-1
- Update to 2.7.6.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1,2 @@
5f2634df3a868fc68d99f34788c78945 dalli-2.7.4.gem
SHA512 (dalli-2.7.6.gem) = 4ef7d065b206989fb26073f1abf8be771d02ddcef9464094cb4fb7b8ae92a16d02ee688053bee5d38977d15de1e358cc3f25e099c54d91aed355815a8e5b98d2
SHA512 (dalli-2.7.6-tests.tgz) = 10e4344772e3f1e02d8e90259e72e9b7301fdf93bd84d61c66e88f9ed058e4e8b3e4fd525f6eccce858275d722fad459d3e7ef57de9b990a2fbd854ca373e4cd

Loading…
Cancel
Save