[rubygem-tzinfo] Update to tzinfo 0.3.30.
Vít Ondruch
vondruch at fedoraproject.org
Thu Oct 6 05:55:20 UTC 2011
commit 42d50574880f5709fe80529a861198585c5c6500
Author: Vít Ondruch <vondruch at redhat.com>
Date: Thu Oct 6 07:54:24 2011 +0200
Update to tzinfo 0.3.30.
.gitignore | 1 +
rubygem-tzinfo.spec | 46 +++++++++++++++++++++++++++++-----------------
sources | 2 +-
tzinfo-0.3.26.gem | Bin 310272 -> 0 bytes
4 files changed, 31 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index beffdb3..e7a5b8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ clog
/tzinfo-0.3.26.gem
/rubygem-tzinfo.spec
+/tzinfo-0.3.30.gem
diff --git a/rubygem-tzinfo.spec b/rubygem-tzinfo.spec
index f3bcca9..e18be54 100644
--- a/rubygem-tzinfo.spec
+++ b/rubygem-tzinfo.spec
@@ -1,22 +1,25 @@
# Generated from tzinfo-0.3.26.gem by gem2rpm -*- rpm-spec -*-
-%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname tzinfo
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global download_path http://rubygems.org/downloads/
%global rubyabi 1.8
Summary: Daylight-savings aware timezone library
Name: rubygem-%{gemname}
-Version: 0.3.26
+Version: 0.3.30
Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://tzinfo.rubyforge.org/
Source0: %{download_path}%{gemname}-%{version}.gem
Requires: ruby(abi) = %{rubyabi}
-Requires: rubygems
-BuildRequires: rubygems
+Requires: ruby(rubygems)
+Requires: ruby
+BuildRequires: ruby(rubygems)
BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
@@ -28,38 +31,47 @@ daylight savings aware transformations between times in different time zones.
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
%description doc
This package contains documentation for %{name}.
%prep
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+ --force %{SOURCE0}
%build
%install
-%{__mkdir_p} %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
- --force --rdoc %{SOURCE0}
-%{__rm} -Rf %{buildroot}/%{geminstdir}/.yardoc
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* \
+ %{buildroot}%{gemdir}/
+
+%check
+pushd .%{geminstdir}
+testrb test/ts_all.rb
+popd
%files
-%defattr(-, root, root, -)
%dir %{geminstdir}
+%doc %{geminstdir}/LICENSE
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
-%doc %{geminstdir}/CHANGES
-%doc %{geminstdir}/LICENSE
-%doc %{geminstdir}/Rakefile
-%doc %{geminstdir}/README
%files doc
-%defattr(-, root, root, -)
-%{gemdir}/doc/%{gemname}-%{version}
-%{geminstdir}/README
-%{geminstdir}/CHANGES
+%doc %{geminstdir}/CHANGES
+%doc %{geminstdir}/README
+%{geminstdir}/Rakefile
%{geminstdir}/test
+%{gemdir}/doc/%{gemname}-%{version}
%changelog
+* Thu Oct 06 2011 Vít Ondruch <vondruch at redhat.com> - 0.3.30-1
+- Update to tzinfo 0.3.30.
+
* Sun Apr 10 2011 <Minnikhanov at gmail.com> - 0.3.26-1
- Updated mail to latest upstream release (v.0.3.26 2011-04-01)
diff --git a/sources b/sources
index f886eaa..1a2d523 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-450c9c921e10f9bd5fd4cd6d9bb21f75 tzinfo-0.3.26.gem
+7d0455624483bcab7de56cfd33549685 tzinfo-0.3.30.gem
More information about the scm-commits
mailing list