%global debug_package %{nil}
%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
%global gem_name tzinfo-data
Name: rubygem-tzinfo-data
Version: 1.2018.5
Release: 2%{?dist}
Summary: data from the IANA Time Zone database packaged as Ruby modules
Group: Development/Languages
License: MIT
URL: https://rubygems.org/gems/%{gem_name}/versions/%{version}
Source0: https://rubygems.org/downloads/tzinfo-data-%{version}.gem
%define sha1 tzinfo-data=2ba2850326a7d62d147caf8dc35ae6314cf75b91
BuildRequires: ruby
Provides: rubygem-tzinfo-data = %{version}
%description
TZInfo::Data contains data from the IANA Time Zone database packaged as
Ruby modules for use with TZInfo.
%prep
%setup -q -c -T
%build
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Mon Feb 4 2019 Sujay G <gsujay@vmware.com> 1.2018.5-2
- Increment the release version as part of ruby upgrade
* Tue Jul 24 2018 Srinidhi Rao <srinidhir@vmware.com> 1.2018.5-1
- Initial build