%define oname time Name: ruby-%{oname} Version: 0.3.0 Release: %mkrel 1 Summary: Ruby methods for parsing and converting Times Group: Development/Ruby License: MIT URL: https://github.com/ruby/%{oname} Source0: https://rubygems.org/downloads/%{oname}-%{version}.gem BuildRequires: rubygems BuildArch: noarch %description When 'time' is required, Time is extended with additional methods for parsing and converting Times. %files %{gem_instdir}/ %{gem_spec} #------------------------------------------------------------------------------- %package doc Summary: Documentation for %{name} Group: Development/Ruby Requires: %{name} = %{version}-%{release} %description doc Documents, Rdoc & RI documentation for %{name}. %files doc %doc %{gem_docdir} #------------------------------------------------------------------------------- %prep %gem_setup %build %gem_build %install %gem_install %changelog * Mon Apr 08 2024 pterjan <pterjan> 0.3.0-1.mga10 + Revision: 2055624 - Update to 0.3.0 * Wed Apr 05 2023 pterjan <pterjan> 0.2.2-1.mga9 + Revision: 1951524 - Update to 0.2.2 (CVE-2023-28756) * Wed Jul 20 2022 bcornec <bcornec> 0.2.0-1.mga9 + Revision: 1869618 - Adds ruby-time for vagrant 2.2.19 - Created package structure for ruby-time.