forked from pool/rubygem-hpricot
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
This commit is contained in:
parent
d937590b59
commit
d6f874fb71
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dce03d440b119df494b24e883f4e73be925d74cc30545c8b82364ad9bca715aa
|
||||
size 264192
|
BIN
hpricot-0.8.6.gem
(Stored with Git LFS)
Normal file
BIN
hpricot-0.8.6.gem
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user