# Generated from hitimes-1.2.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name hitimes Name: rubygem-%{gem_name} Version: 3.0.0 Release: 1%{?dist} Summary: A fast, high resolution timer library for recording performance metrics License: ISC URL: http://github.com/copiousfreetime/hitimes Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/copiousfreetime/hitimes.git && cd hitimes # git archive -v -o hitimes-3.0.0-spec.tar.gz v3.0.0 spec/ Source1: %{gem_name}-%{version}-spec.tar.gz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(minitest) BuildArch: noarch %description Hitimes is a fast, high resolution timer library for recording performance metrics. It uses the internal ruby `Process::clock_gettime()` to get the highest granularity time increment possible. Generally this is nanosecond resolution, or whatever the hardware in the CPU supports. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %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}/spec spec # We don't have minitest-focus in Fedora, but it is likely not needed at all. sed -i '/minitest\/focus/ s/focus/autorun/' spec/spec_helper.rb ruby -Ilib:spec -e 'Dir.glob "./spec/*spec.rb", &method(:require)' popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/HISTORY.md %doc %{gem_instdir}/Manifest.txt %doc %{gem_instdir}/README.md %{gem_instdir}/hitimes.gemspec %changelog * Fri Aug 30 2024 Vít Ondruch - 3.0.0-1 - Update to Hitimes 3.0.0. Resolves: rhbz#2278101 * Fri Jul 19 2024 Fedora Release Engineering - 2.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Aug 05 12:50:37 GMT 2020 Pavel Valena - 2.0.0-1 - Update to hitimes 2.0.0. Resolves: rhbz#1754539 * Wed Jul 29 2020 Fedora Release Engineering - 1.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 18 2020 Mamoru TASAKA - 1.3.1-3 - F-32: rebuild against ruby27 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Mar 26 2019 Pavel Valena - 1.3.1-1 - Update to hitimes 1.3.1. * Sat Feb 02 2019 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 17 2019 Vít Ondruch - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.6 * Sat Jul 21 2018 Pavel Valena - 1.3.0-1 - Update to hitimes 1.3.0. * Sat Jul 14 2018 Fedora Release Engineering - 1.2.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 20 2018 Björn Esser - 1.2.6-3 - Rebuilt for switch to libxcrypt * Fri Jan 12 2018 Vít Ondruch - 1.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.5 * Tue Aug 15 2017 Pavel Valena - 1.2.6-1 - Update to 1.2.6. * Thu Aug 03 2017 Fedora Release Engineering - 1.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 10 2017 Vít Ondruch - 1.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4 * Thu Feb 04 2016 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 11 2016 Pavel Valena - 1.2.3-1 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3 - Update to 1.2.3 - Removed .travis.yml * Wed Feb 18 2015 Josef Stribny - 1.2.2-1 - Update to 1.2.2 - Fix the packaging for Ruby 2.2 * Mon Jan 20 2014 Achilleas Pipinellis - 1.2.1-1 - Initial package