[rubygem-charlock_holmes] Update to charlock_holmes 0.7.0 (supports Minitest 5)

Ken Dreyer ktdreyer at fedoraproject.org
Mon May 12 01:06:34 UTC 2014


commit 337c676f0f89ea7e51bc3ceb748e91ee7b0fb0ac
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Sun May 11 19:06:58 2014 -0600

    Update to charlock_holmes 0.7.0 (supports Minitest 5)
    
    - rm gem2rpm auto-generated comment
    - exclude extra gemspec

 .gitignore                   |    1 +
 rubygem-charlock_holmes.spec |   18 +++++++++++-------
 sources                      |    2 +-
 3 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6c8abc8..3701009 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /charlock_holmes-0.6.9.4.gem
+/charlock_holmes-0.7.0.gem
diff --git a/rubygem-charlock_holmes.spec b/rubygem-charlock_holmes.spec
index dcb08c6..49a450f 100644
--- a/rubygem-charlock_holmes.spec
+++ b/rubygem-charlock_holmes.spec
@@ -1,9 +1,8 @@
-# Generated from charlock_holmes-0.6.9.4.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name charlock_holmes
 
 Name: rubygem-%{gem_name}
-Version: 0.6.9.4
-Release: 5%{?dist}
+Version: 0.7.0
+Release: 1%{?dist}
 Summary: Character encoding detection, brought to you by ICU
 Group: Development/Languages
 License: MIT
@@ -13,7 +12,8 @@ BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby-devel
 BuildRequires: libicu-devel
-BuildRequires: rubygem(minitest) < 5
+BuildRequires: zlib-devel
+BuildRequires: rubygem(minitest)
 
 # The Python code in the tests subdirectory references /usr/bin/env.
 # Filter this from RPM's autorequires.
@@ -68,7 +68,7 @@ pushd .%{gem_instdir}
 # Set locale to UTF due to failing tests in mock
 # https://github.com/brianmario/charlock_holmes/issues/39
 LANG=en_US.utf8
-testrb -I%{buildroot}%{gem_extdir_mri} test/*.rb
+ruby -I"lib:%{buildroot}%{gem_extdir_mri}" test/*.rb
 popd
 
 %files
@@ -84,14 +84,18 @@ popd
 %doc %{gem_docdir}
 %doc %{gem_instdir}/README.md
 %{gem_instdir}/Gemfile
-%{gem_instdir}/Gemfile.lock
 %{gem_instdir}/Rakefile
 %{gem_instdir}/benchmark/
 %{gem_instdir}/test/
-%{gem_instdir}/%{gem_name}.gemspec
+%exclude %{gem_instdir}/%{gem_name}.gemspec
 
 
 %changelog
+* Mon May 12 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 0.7.0-1
+- Update to charlock_holmes 0.7.0 (supports Minitest 5)
+- rm gem2rpm auto-generated comment
+- exclude extra gemspec
+
 * Wed Apr 09 2014 Achilleas Pipinellis <axilleas at fedoraproject.org> - 0.6.9.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
 - Use minitest4
diff --git a/sources b/sources
index 8738433..ee12903 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d0225d2149311cec0e51b1057a71846e  charlock_holmes-0.6.9.4.gem
+dd6c5f7af63034b21876bf805a88b1d4  charlock_holmes-0.7.0.gem


More information about the scm-commits mailing list