From d6f874fb71d04569670f0a7de795ba6a21223bde303e94fd34cd2852c2ee5b49 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 17 Jul 2012 05:05:54 +0000 Subject: [PATCH] Accepting request 127890 from home:computersalat:devel:ruby update to 0.8.6, fix License OBS-URL: https://build.opensuse.org/request/show/127890 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-hpricot?expand=0&rev=9 --- hpricot-0.8.2.gem | 3 --- hpricot-0.8.6.gem | 3 +++ rubygem-hpricot.changes | 25 +++++++++++++++++++ rubygem-hpricot.spec | 55 ++++++++++++++++++++++++++--------------- 4 files changed, 63 insertions(+), 23 deletions(-) delete mode 100644 hpricot-0.8.2.gem create mode 100644 hpricot-0.8.6.gem diff --git a/hpricot-0.8.2.gem b/hpricot-0.8.2.gem deleted file mode 100644 index d5d309f..0000000 --- a/hpricot-0.8.2.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dce03d440b119df494b24e883f4e73be925d74cc30545c8b82364ad9bca715aa -size 264192 diff --git a/hpricot-0.8.6.gem b/hpricot-0.8.6.gem new file mode 100644 index 0000000..7199df0 --- /dev/null +++ b/hpricot-0.8.6.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfe8f4b3414ba8377d7626030f3aa605caadee9de87cffbeadf8a50359eac8ca +size 293888 diff --git a/rubygem-hpricot.changes b/rubygem-hpricot.changes index 3930ad9..870407d 100644 --- a/rubygem-hpricot.changes +++ b/rubygem-hpricot.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Jul 14 19:01:06 UTC 2012 - chris@computersalat.de + +- update to 0.8.6 + * Allow any tags to contain unknown tags (Steven Parkes) +- 0.8.5 + * Remove escaped quote (\') from matching (#55) + * Fix 'undefined method downcase for nil:NilClass' on JRuby (#58) + * Unescape hex numeric character references +- 0.8.4 + * GH #21, #32, #33, #36: Fix for reported segfaults +- 0.8.3 + * GH#8: Nil-check before downcasing attribute key + * GH#25: Proper ruby 1.9 encoding support + * GH#28. Use integers instead of ?? on 1.9, which is just a string. + * including noscript to ElementInclusions , so that hpricot wont fail + when trying to parse a meta tag inside head section when noscript is + present. + * latest changes from fast_xs mainline + * Fixes to get Hpricot running on Rubinius: + * Use free, not XFREE + * Remove RSTRUCT craziness, don't break Array#at +- fix License: + * MIT: https://github.com/hpricot/hpricot/blob/master/COPYING + ------------------------------------------------------------------- Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de diff --git a/rubygem-hpricot.spec b/rubygem-hpricot.spec index acc67b6..995d25e 100644 --- a/rubygem-hpricot.spec +++ b/rubygem-hpricot.spec @@ -1,7 +1,7 @@ # -# spec file for package rubygem-hpricot (Version 0.8.2) +# spec file for package rubygem-hpricot # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products 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,30 +15,40 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: rubygem-hpricot -Version: 0.8.2 +Version: 0.8.6 Release: 0 %define mod_name hpricot +%define mod_full_name %{mod_name}-%{version} # Group: Development/Languages/Ruby -License: GPLv2+ or Ruby +License: MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch %rubygems_requires -BuildRequires: ragel -BuildRequires: dos2unix # Url: http://code.whytheluckystiff.net/hpricot/ -Source: %{mod_name}-%{version}.gem -Source1: rubygem-%{mod_name}-rpmlintrc +Source: %{mod_full_name}.gem # Summary: A swift, liberal HTML parser with a fantastic library %description -Hpricot is a fast, flexible HTML parser written in C. It's designed to be very -accomodating (like Tanaka Akira's HTree) and to have a very helpful library (like -some JavaScript libs -- JQuery, Prototype -- give you.) +a swift, liberal HTML parser with a fantastic library + +%package doc +Summary: RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} +%description doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + +%package testsuite +Summary: Test suite for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} +%description testsuite +Test::Unit or RSpec files, useful for developers. %prep %build @@ -47,16 +57,21 @@ some JavaScript libs -- JQuery, Prototype -- give you.) %gem_cleanup ### rpmlint stuff # wrong-script-end-of-line-encoding -dos2unix %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test/nokogiri-bench.rb - -%clean -%{__rm} -rf %{buildroot} +%{__perl} -p -i -e 's|\r\n|\n|' %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test/nokogiri-bench.rb %files %defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ +%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ +%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test +%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec + +%files doc +%defattr(-,root,root,-) +%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ + +%files testsuite +%defattr(-,root,root,-) +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test %changelog