|
|
|
@ -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 <vondruch@redhat.com> - 1.2.5-1
|
|
|
|
|
- Update to TZInfo 1.2.5.
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|