| |
@@ -2,17 +2,13 @@
|
| |
%global gem_name curb
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 0.9.7
|
| |
- Release: 2%{?dist}
|
| |
+ Version: 0.9.8
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Ruby libcurl bindings
|
| |
License: Ruby
|
| |
URL: https://github.com/taf2/curb
|
| |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
| |
Patch0: curb-disable-network-lookup-test.patch
|
| |
- # libcurl 7.62 seems to have changed file:// slightly to include headers
|
| |
- # when reading files?
|
| |
- # https://github.com/taf2/curb/commit/55c7f485672465461bb8b8a4589601c208a3d82c
|
| |
- Patch1: rubygem-curb-0.9.7-libcurl-762-seems-to-have-changed-file-slightly.patch
|
| |
BuildRequires: ruby(release)
|
| |
BuildRequires: rubygems-devel
|
| |
BuildRequires: ruby-devel
|
| |
@@ -36,12 +32,8 @@
|
| |
|
| |
%prep
|
| |
%setup -q -n %{gem_name}-%{version}
|
| |
- gem unpack %{SOURCE0}
|
| |
|
| |
- # Disable due to Curl::Err::HostResolutionError, which is cause probably by
|
| |
- # missing network access on Koji.
|
| |
%patch0 -p1
|
| |
- %patch1 -p1
|
| |
|
| |
%build
|
| |
# Create the gem as gem install only works on a gem file
|
| |
@@ -65,6 +57,11 @@
|
| |
|
| |
%check
|
| |
pushd .%{gem_instdir}
|
| |
+
|
| |
+ # Skip test as it requires actual remote connection opened
|
| |
+ sed -i '/^ def test_connection_keepalive/ a omit' \
|
| |
+ tests/tc_curl_multi.rb
|
| |
+
|
| |
ruby -e 'Dir.glob "./tests/tc_*.rb", &method(:require)'
|
| |
popd
|
| |
|
| |
@@ -84,6 +81,9 @@
|
| |
%{gem_instdir}/tests
|
| |
|
| |
%changelog
|
| |
+ * Tue Mar 05 2019 Pavel Valena <pvalena@redhat.com> - 0.9.8-1
|
| |
+ - Update to curb 0.9.8.
|
| |
+
|
| |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |
also enhance .spec and .gitgnore file.
Copr build:
https://copr.fedorainfracloud.org/coprs/build/865148/
Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=33235539
Checks: