#1 Update to curb 0.9.8
Merged 5 years ago by pvalena. Opened 5 years ago by pvalena.
rpms/ pvalena/rubygem-curb rebase  into  master

file modified
+1 -12
@@ -1,12 +1,1 @@ 

- curb-0.7.7.1.gem

- /curb-0.7.10.gem

- /curb-0.8.3.gem

- /curb-0.8.4.gem

- /curb-0.8.5.gem

- /curb-0.8.6.gem

- /curb-0.8.7.gem

- /curb-0.8.8.gem

- /curb-0.9.3.gem

- /curb-0.9.4.gem

- /curb-0.9.6.gem

- /curb-0.9.7.gem

+ /curb-*.gem

file modified
+10 -10
@@ -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

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (curb-0.9.7.gem) = 6068eaaad6b1dc2dbbf7d0588235ce2a681d786bf8ed6d072e501b7cbff600d8fbc9d675fac3949a565c8451641982cbd9ab29a50cf3707e8c4cdc35b539f42b

+ SHA512 (curb-0.9.8.gem) = be57d572fd1703440e4f4127d55fdc6efdb5c30b50ca86ef5a66a5fd99667708771480cd3abf9be62aae7adb43fa41a03b57019ae7edbf03a9a7d7c2bbefeba9

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:

  • rpmlint: ok
  • Tests run: ok
  • Dependent packages: ok

Sadly I do not have permissions to merge this.

It would be nice to state what are your intentions with the update. If that is an update just to have the newest package in Fedora or if there is another reason.

Anyway, @ruby-packagers-sig has been added, so you should be good to go.

Sure, will do next time. It never occured to me.

Now I do not remember anything specific, so it was probably just na update (lastest, greatest, right?).

Anyway, @ruby-packagers-sig has been added, so you should be good to go.

Thanks!

Pull-Request has been merged by pvalena

5 years ago