# template: default %global gem_name hashie Name: rubygem-%{gem_name} Version: 5.0.0 Release: 1%{?dist} Summary: Your friendly neighborhood hash library License: MIT URL: https://github.com/hashie/hashie Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # start specfile generated dependencies Requires: ruby BuildRequires: ruby BuildRequires: rubygems-devel BuildArch: noarch # end specfile generated dependencies %description Hashie is a collection of classes and mixins that make hashes more powerful. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} %exclude %{gem_instdir}/.yardopts %license %{gem_instdir}/LICENSE %doc %{gem_instdir}/UPGRADING.md %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %exclude %{gem_instdir}/hashie.gemspec %changelog * Sun Sep 04 2022 Foreman Packaging Automation 5.0.0-1 - Update to 5.0.0 * Thu Mar 11 2021 Eric D. Helms - 3.6.0-3 - Rebuild against rh-ruby27 * Thu Mar 26 2020 Eric D. Helms - 3.6.0-2 - Rebuild for EL8 * Thu Sep 13 2018 Ewoud Kohl van Wijngaarden 3.6.0-1 - Update to 3.6.0-1 * Wed Sep 05 2018 Eric D. Helms - 2.0.5-6 - Rebuild for Rails 5.2 and Ruby 2.5 * Fri Jan 05 2018 Ewoud Kohl van Wijngaarden 2.0.5-5 - More rebuilds for Rails 5.1 (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) - Set proper download URLs for rubygems (komidore64@gmail.com) - Switch to using gem_install macro (ericdhelms@gmail.com) * Tue Dec 22 2015 Dominic Cleal 2.0.5-4 - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) * Tue Aug 25 2015 Dominic Cleal 2.0.5-3 - Fix checks against scl name, optimise rhel/empty SCL conditional (dcleal@redhat.com) - Converted to tfm SCL (dcleal@redhat.com) * Tue Jul 28 2015 Dominic Cleal 2.0.5-2 - Fix typo in -doc requires on main package (dcleal@redhat.com) * Thu May 29 2014 Dominic Cleal 2.0.5-1 - Modernise and update for EL7 (dcleal@redhat.com) * Fri Sep 06 2013 Marek Hulan 2.0.5-0 - new package built with tito