[rubygem-chronic] Update to Chronic 0.10.2.
Vít Ondruch
vondruch at fedoraproject.org
Tue Jul 15 11:16:39 UTC 2014
commit 51096a26f0e0b61f42cd115369799c628b9f12f5
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Jul 15 13:16:51 2014 +0200
Update to Chronic 0.10.2.
.gitignore | 1 +
rubygem-chronic.spec | 40 ++++++++++++++++++++++------------------
sources | 2 +-
3 files changed, 24 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 93137b8..b9f4bc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
chronic-0.2.3.gem
/chronic-0.6.6.gem
/chronic-0.9.1.gem
+/chronic-0.10.2.gem
diff --git a/rubygem-chronic.spec b/rubygem-chronic.spec
index 98fee3d..b8ce5cc 100644
--- a/rubygem-chronic.spec
+++ b/rubygem-chronic.spec
@@ -4,20 +4,21 @@
Summary: A natural language date parser
Name: rubygem-%{gem_name}
-Version: 0.9.1
-Release: 3%{?dist}
+Version: 0.10.2
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
-URL: http://chronic.rubyforge.org/
+URL: http://github.com/mojombo/chronic
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Requires: ruby(release)
-Requires: ruby(rubygems)
BuildRequires: ruby
BuildRequires: rubygems-devel
-BuildRequires: rubygem(minitest)
+BuildRequires: rubygem(minitest) > 5
BuildArch: noarch
-Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Chronic is a natural language date/time parser written in pure Ruby.
+
%package doc
Summary: Documentation for %{name}
@@ -25,22 +26,22 @@ Group: Documentation
Requires:%{name} = %{version}-%{release}
%description doc
-Documentation for %{name}
-
-%description
-Chronic is a natural language date/time parser written in pure Ruby.
-
+Documentation for %{name}.
%prep
+%setup -q -c -T
+%gem_install -n %{SOURCE0}
%build
%install
-%gem_install -n %{SOURCE0} -d %{buildroot}%{gem_dir}
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
%check
-pushd %{buildroot}%{gem_instdir}
-testrb -Ilib test
+pushd .%{gem_instdir}
+ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
popd
@@ -54,13 +55,16 @@ popd
%{gem_spec}
%files doc
-%{gem_docdir}
-%{gem_instdir}/HISTORY.md
-%{gem_instdir}/README.md
+%doc %{gem_docdir}
+%doc %{gem_instdir}/HISTORY.md
+%doc %{gem_instdir}/README.md
%{gem_instdir}/Rakefile
%{gem_instdir}/test
%changelog
+* Tue Jul 15 2014 Vít Ondruch <vondruch at redhat.com> - 0.10.2-1
+- Update to Chronic 0.10.2.
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 1b00912..5334bcc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8430ab13eb0d0aa2d82faf98e6eca3e6 chronic-0.9.1.gem
+08a655a971a93f476e2a827365973f57 chronic-0.10.2.gem
More information about the scm-commits
mailing list