[rubygem-excon] Update to Excon 0.14.1

Bohuslav Kabrda bkabrda at fedoraproject.org
Mon Jun 25 06:09:10 UTC 2012


commit 4da804015e678ac18bb81d50c9ba971f9140e424
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Jun 25 08:09:06 2012 +0200

    Update to Excon 0.14.1
    
    - Removed no longer needed patch for downgrading dependencies.
    - Remove newly bundled certificates and link to system ones.

 .gitignore         |    1 +
 rubygem-excon.spec |   21 ++++++++++++++-------
 sources            |    2 +-
 3 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9181bbe..8092e6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /excon-0.7.8.gem
 /excon-0.7.12.gem
 /excon-0.9.5.gem
+/excon-0.14.1.gem
diff --git a/rubygem-excon.spec b/rubygem-excon.spec
index 7661bca..4fd3cfc 100644
--- a/rubygem-excon.spec
+++ b/rubygem-excon.spec
@@ -2,16 +2,17 @@
 
 Summary: Http(s) EXtended CONnections
 Name: rubygem-%{gem_name}
-Version: 0.9.5
-Release: 2%{?dist}
+Version: 0.14.1
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: https://github.com/geemus/excon
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-Patch0: %{gem_name}-downgrade-activesupport-dependency.patch
 Requires: ruby(abi) = 1.9.1
 Requires: ruby(rubygems)
+Requires: ca-certificates
 BuildRequires: rubygems-devel
+BuildRequires: ca-certificates
 # For the tests
 BuildRequires: rubygem(activesupport)
 BuildRequires: rubygem(delorean)
@@ -39,10 +40,6 @@ mkdir -p .%{gem_dir}
 gem install --local --install-dir .%{gem_dir} \
             --force --rdoc %{SOURCE0}
 
-pushd .%{gem_dir}
-%patch0
-popd
-
 %build
 
 %install
@@ -53,6 +50,10 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
 # fix the benchmark file not to be executable
 chmod a-x %{buildroot}%{gem_instdir}/benchmarks/has_key-vs-hash[key].rb
 
+# kill bundled cacert.pem
+ln -sf %{_sysconfdir}/pki/tls/cert.pem \
+	%{buildroot}%{gem_instdir}/data/cacert.pem
+
 %check
 pushd .%{gem_instdir}
 # we need to remove the dependency on bundler and add the missing requires (workaround for not using the Rakefile)
@@ -65,6 +66,7 @@ popd
 
 %files
 %dir %{gem_instdir}
+%{gem_instdir}/data
 %{gem_libdir}
 %exclude %{gem_cache}
 %exclude %{gem_instdir}/Gemfile
@@ -81,6 +83,11 @@ popd
 
 
 %changelog
+* Mon Jun 25 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.14.1-1
+- Update to Excon 0.14.1
+- Removed no longer needed patch for downgrading dependencies.
+- Remove newly bundled certificates and link to system ones.
+
 * Wed Feb 01 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.9.5-2
 - Fixed the changelog.
 
diff --git a/sources b/sources
index 49ff2dc..023de32 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d7bbf184eb6a4d55860ac05db51334cc  excon-0.9.5.gem
+b1c8348297fb18f7fc98a9fbb73527ae  excon-0.14.1.gem


More information about the scm-commits mailing list