%{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} %global gem_name fog-json Summary: JSON parsing for fog providers Name: %{?scl_prefix}rubygem-%{gem_name} Version: 1.2.0 Release: 4%{?dist} Group: Development/Ruby License: MIT URL: https://github.com/fog/fog-json Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: %{?scl_prefix_ruby}rubygems Requires: %{?scl_prefix}rubygem(multi_json) >= 1.10 Requires: %{?scl_prefix}rubygem(multi_json) < 2 Requires: %{?scl_prefix}rubygem(fog-core) Requires: %{?scl_prefix_ruby}ruby(release) BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildRequires: %{?scl_prefix_ruby}rubygems BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}} %define gembuilddir %{buildroot}%{gem_dir} %description Extraction of the JSON parsing tools shared between a number of providers in the 'fog' gem. %package doc BuildArch: noarch Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc} Summary: Documentation for rubygem-%{gem_name} %description doc This package contains documentation for rubygem-%{gem_name}. %prep %setup -n %{pkg_name}-%{version} -T -c %{?scl:scl enable %{scl} - < - 1.2.0-4 - Rebuild against rh-ruby27 * Wed Apr 08 2020 Zach Huntington-Meath - 1.2.0-3 - Bump to release for EL8 * Fri Jan 17 2020 Zach Huntington-Meath - 1.2.0-2 - Update spec to remove the ror scl * Thu Feb 21 2019 Marek Hulan 1.2.0-1 - Update to 1.2.0 * Wed Sep 05 2018 Eric D. Helms - 1.0.2-6 - Rebuild for Rails 5.2 and Ruby 2.5 * Fri Jan 05 2018 Ewoud Kohl van Wijngaarden 1.0.2-5 - More rebuilds for Rails 5.1 (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) - Switch to using gem_install macro (ericdhelms@gmail.com) * Thu Apr 21 2016 Dominic Cleal 1.0.2-4 - Rebuild tfm against sclo-ror42 (dominic@cleal.org) * Tue Dec 22 2015 Dominic Cleal 1.0.2-3 - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) * Tue Aug 25 2015 Dominic Cleal 1.0.2-2 - Converted to tfm SCL (dcleal@redhat.com) * Mon Jun 01 2015 Dominic Cleal 1.0.2-1 - Update fog-json to 1.0.2 (dcleal@redhat.com) * Wed Apr 08 2015 Dominic Cleal 1.0.1-1 - Update fog-json to 1.0.1 (dcleal@redhat.com) - Fixes #9703 - change %%{dist} to %%{?dist} (jmontleo@redhat.com) * Tue Mar 25 2014 Dominic Cleal 1.0.0-2 - Fix Provides for correct gem name (dcleal@redhat.com) * Wed Mar 19 2014 Dominic Cleal 1.0.0-1 - new package built with tito