diff --git a/.gitignore b/.gitignore index 3341fdb..c4a4f61 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ clog /tzinfo-0.3.37.gem /tzinfo-1.1.0.gem /tzinfo-1.2.2.gem +/tzinfo-1.2.5.gem diff --git a/rubygem-tzinfo.spec b/rubygem-tzinfo.spec index 9946d13..36e7c7a 100644 --- a/rubygem-tzinfo.spec +++ b/rubygem-tzinfo.spec @@ -1,44 +1,38 @@ # Generated from tzinfo-0.3.26.gem by gem2rpm -*- rpm-spec -*- %global gem_name tzinfo -%global download_path http://rubygems.org/downloads/ - -Summary: Daylight-savings aware timezone library Name: rubygem-%{gem_name} -Version: 1.2.2 -Release: 6%{?dist} -Group: Development/Languages +Version: 1.2.5 +Release: 1%{?dist} +Summary: Daylight savings aware timezone library License: MIT -URL: http://tzinfo.github.io/ -Source0: %{download_path}%{gem_name}-%{version}.gem -BuildRequires: rubygems-devel +URL: http://tzinfo.github.io +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) -BuildRequires: rubygem(thread_safe) +BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(minitest) +BuildRequires: rubygem(thread_safe) BuildArch: noarch %description -TZInfo is a Ruby library that uses the standard tz (Olson) database to provide -daylight savings aware transformations between times in different time zones. +TZInfo provides daylight savings aware transformations between times in +different time zones. + %package doc Summary: Documentation for %{name} -Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc -This package contains documentation for %{name}. +Documentation for %{name}. %prep -gem unpack %{SOURCE0} -%setup -q -D -T -n %{gem_name}-%{version} - -gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec +%setup -q -n %{gem_name}-%{version} %build -gem build %{gem_name}.gemspec +gem build ../%{gem_name}-%{version}.gemspec %gem_install %install @@ -46,6 +40,8 @@ mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ + + %check pushd .%{gem_instdir} ruby -Ilib -e "require './test/ts_all'" @@ -54,21 +50,24 @@ popd %files %dir %{gem_instdir} -%doc %{gem_instdir}/LICENSE +%exclude %{gem_instdir}/.yardopts +%license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} -%exclude %{gem_instdir}/.yardopts %{gem_spec} %files doc +%doc %{gem_docdir} %doc %{gem_instdir}/CHANGES.md %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/test %{gem_instdir}/%{gem_name}.gemspec -%{gem_docdir} %changelog +* Mon May 28 2018 Vít Ondruch - 1.2.5-1 +- Update to TZInfo 1.2.5. + * Fri Feb 09 2018 Fedora Release Engineering - 1.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 8decb66..5a16734 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -972fe2c6d57be47edb144c51340fd428 tzinfo-1.2.2.gem +SHA512 (tzinfo-1.2.5.gem) = 87f7cd66d6e80d51d216cb993cc76fe7758db03ffd39dde96eb24a9d208699766a8dbff048485fb732ce125ee9f971e38ed9ee1197f3ee3fc3ee8a8da840dd45