From 6c6b6f2305db2592b0c1822f0a0bc1bba8dd04a5e5312042e9c7d12fb4c23c93 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 7 Oct 2016 06:16:45 +0000 Subject: [PATCH] Accepting request 432124 from home:coolo:branches:devel:languages:ruby:extensions update OBS-URL: https://build.opensuse.org/request/show/432124 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-http-cookie?expand=0&rev=4 --- gem2rpm.yml | 70 +++++++++++++++++++++++++++++++++++++ http-cookie-1.0.2.gem | 3 -- http-cookie-1.0.3.gem | 3 ++ rubygem-http-cookie.changes | 12 +++++++ rubygem-http-cookie.spec | 17 ++++++--- 5 files changed, 98 insertions(+), 7 deletions(-) create mode 100644 gem2rpm.yml delete mode 100644 http-cookie-1.0.2.gem create mode 100644 http-cookie-1.0.3.gem diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..01b0245 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,70 @@ +# --- +# ## used by gem2rpm +# :summary: this is a custom summary +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# diff --git a/http-cookie-1.0.2.gem b/http-cookie-1.0.2.gem deleted file mode 100644 index c6c5dd7..0000000 --- a/http-cookie-1.0.2.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bcc1b18b5bc3e9302542c9c7f68f1ac0c3100a65dd2831786172e8676773e233 -size 37888 diff --git a/http-cookie-1.0.3.gem b/http-cookie-1.0.3.gem new file mode 100644 index 0000000..0970719 --- /dev/null +++ b/http-cookie-1.0.3.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f11269d817bc52ab2af2721e89a377660a961078de2a3a55fc696d7897e8c00 +size 38400 diff --git a/rubygem-http-cookie.changes b/rubygem-http-cookie.changes index dfc59ec..487d9d2 100644 --- a/rubygem-http-cookie.changes +++ b/rubygem-http-cookie.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Oct 1 04:40:47 UTC 2016 - coolo@suse.com + +- updated to version 1.0.3 + see installed CHANGELOG.md + + ## 1.0.3 (2016-09-30) + + - Treat comma as normal character in HTTP::Cookie.cookie_value_to_hash + instead of key-value pair separator. This should fix the problem + described in CVE-2016-7401. + ------------------------------------------------------------------- Fri Sep 13 11:06:22 UTC 2013 - coolo@suse.com diff --git a/rubygem-http-cookie.spec b/rubygem-http-cookie.spec index b4c9af4..915a38d 100644 --- a/rubygem-http-cookie.spec +++ b/rubygem-http-cookie.spec @@ -1,7 +1,7 @@ # # spec file for package rubygem-http-cookie # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-http-cookie -Version: 1.0.2 +Version: 1.0.3 Release: 0 %define mod_name http-cookie %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 5 -BuildRequires: %{ruby} BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 Url: https://github.com/sparklemotion/http-cookie Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: A Ruby library to handle HTTP Cookies based on RFC 6265 License: MIT Group: Development/Languages/Ruby