From a77216f2703f50db00bc93b8b770223af470aac5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 04:26:13 +0300 Subject: [PATCH] import rubygem-tzinfo-2.0.4-4.el9 --- .gitignore | 2 + .rubygem-tzinfo.metadata | 2 + SPECS/rubygem-tzinfo.spec | 190 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 194 insertions(+) create mode 100644 .gitignore create mode 100644 .rubygem-tzinfo.metadata create mode 100644 SPECS/rubygem-tzinfo.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ef4084 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/tzinfo-2.0.4-tests.txz +SOURCES/tzinfo-2.0.4.gem diff --git a/.rubygem-tzinfo.metadata b/.rubygem-tzinfo.metadata new file mode 100644 index 0000000..307b52c --- /dev/null +++ b/.rubygem-tzinfo.metadata @@ -0,0 +1,2 @@ +ce4e275cbb5f6fecfc8883c06210c7229520fedc SOURCES/tzinfo-2.0.4-tests.txz +5902d225ac9279e997866c3a43306c42ce659643 SOURCES/tzinfo-2.0.4.gem diff --git a/SPECS/rubygem-tzinfo.spec b/SPECS/rubygem-tzinfo.spec new file mode 100644 index 0000000..f8cee44 --- /dev/null +++ b/SPECS/rubygem-tzinfo.spec @@ -0,0 +1,190 @@ +# Generated from tzinfo-0.3.26.gem by gem2rpm -*- rpm-spec -*- +%global gem_name tzinfo + +Name: rubygem-%{gem_name} +Version: 2.0.4 +Release: 4%{?dist} +Summary: Daylight savings aware timezone library +License: MIT +URL: http://tzinfo.github.io +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +# Gem file does not contain a test suite, you can create it like so: +# git clone https://github.com/tzinfo/tzinfo.git --no-checkout +# cd tzinfo && git archive -v -o tzinfo-2.0.4-tests.txz v2.0.4 test/ +Source1: %{gem_name}-%{version}-tests.txz + +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +BuildRequires: rubygem(minitest) +BuildRequires: rubygem(concurrent-ruby) +BuildArch: noarch + +%description +TZInfo provides daylight savings aware transformations between times in +different time zones. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%setup -q -n %{gem_name}-%{version} -b1 + +%build +gem build ../%{gem_name}-%{version}.gemspec +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%check +pushd .%{gem_instdir} +ln -s %{_builddir}/test . + +# We don't want to use bundler +sed -i "/raise 'Tests must be run with bundler/ s/^/#/" \ + test/test_utils.rb + +RUBYOPT="-I.:lib:test" ruby -rtest/ts_all +popd + +%files +%dir %{gem_instdir} +%exclude %{gem_instdir}/.yardopts +%license %{gem_instdir}/LICENSE +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/CHANGES.md +%doc %{gem_instdir}/README.md + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 2.0.4-4 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 31 2020 Pavel Valena - 2.0.4-1 +- Update to tzinfo 2.0.4. + Resolves: rhbz#1908521 + +* Fri Nov 13 00:58:17 CET 2020 Pavel Valena - 2.0.3-1 +- Update to tzinfo 2.0.3. + Resolves: rhbz#1895701 + +* Fri Oct 30 21:10:27 CET 2020 Pavel Valena - 2.0.2-1 +- Update to tzinfo 2.0.2. + Resolves: rhbz#1820389 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Feb 03 2020 Pavel Valena - 2.0.1-1 +- Update to tzinfo 2.0.1. + +* Thu Jan 30 2020 Fedora Release Engineering - 1.2.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* 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 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Aug 25 2014 Josef Stribny - 1.2.2-1 +- Update to 1.2.2 + +* Sun Jun 08 2014 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Apr 17 2014 Josef Stribny - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1 +- Patch tzinfo to use Minitest 5 + +* Thu Apr 10 2014 Josef Stribny - 1.1.0-1 +- Update to tzinfo 1.1.0 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.3.37-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 24 2013 Josef Stribny - 0.3.37-1 +- Update to tzinfo 0.3.37. + +* Mon Feb 25 2013 Vít Ondruch - 0.3.35-1 +- Update to tzinfo 0.3.35. + +* Mon Feb 25 2013 Vít Ondruch - 0.3.34-3 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.3.34-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Oct 29 2012 Vít Ondruch - 0.3.34-1 +- Update to tzinfo 0.3.34. + +* Sat Jul 21 2012 Fedora Release Engineering - 0.3.30-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 19 2012 Vít Ondruch - 0.3.30-3 +- Rebuilt for Ruby 1.9.3. + +* Sat Jan 14 2012 Fedora Release Engineering - 0.3.30-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Oct 06 2011 Vít Ondruch - 0.3.30-1 +- Update to tzinfo 0.3.30. + +* Sun Apr 10 2011 - 0.3.26-1 +- Updated mail to latest upstream release (v.0.3.26 2011-04-01) + +* Wed Feb 09 2011 Fedora Release Engineering - 0.3.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jan 25 2011 - 0.3.24-2 +- Fix Comment 3 #668098. https://bugzilla.redhat.com/show_bug.cgi?id=668098#c3 + +* Tue Jan 18 2011 - 0.3.24-1 +- Updated mail to latest upstream release + +* Sat Jan 08 2011 - 0.3.23-1 +- Initial package +