From aef66b42d6636ea42e05726de129afe1b4b90a0a Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Nov 15 2019 14:31:52 +0000 Subject: Allow newer http-accept gem, also enahnce .spec file. --- diff --git a/rubygem-rest-client.spec b/rubygem-rest-client.spec index 452cfa0..1423967 100644 --- a/rubygem-rest-client.spec +++ b/rubygem-rest-client.spec @@ -8,7 +8,7 @@ Name: rubygem-%{gem_name} Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple HTTP and REST client for Ruby License: MIT URL: https://github.com/rest-client/rest-client @@ -40,10 +40,16 @@ BuildArch: noarch Documentation for %{name}. %prep -%setup -q -c -T -%gem_install -n %{SOURCE0} +%setup -q -n %{gem_name}-%{version} + +# Allow newer http-accept we have in Fedora +%gemspec_remove_dep -g http-accept +%gemspec_add_dep -g http-accept '< 3.0' %build +gem build ../%{gem_name}-%{version}.gemspec +%gem_install + %install mkdir -p %{buildroot}%{gem_dir} @@ -89,6 +95,9 @@ popd %{gem_instdir}/spec %changelog +* Fri Nov 15 2019 Pavel Valena - 2.1.0-2 +- Allow newer http-accept gem. + * Fri Nov 15 2019 Pavel Valena - 2.1.0-1 - Update to rest-client 2.1.0.