1
0

Accepting request 25664 from home:computersalat:devel:ruby

Copy from home:computersalat:devel:ruby/rubygem-hpricot via accept of submit request 25664 revision 2.
Request was accepted with message:
reviewed

OBS-URL: https://build.opensuse.org/request/show/25664
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-hpricot?expand=0&rev=5
This commit is contained in:
Marcus Rückert 2009-12-08 17:05:07 +00:00 committed by Git OBS Bridge
parent 7e9917653e
commit 13035c797f
5 changed files with 36 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abc5902b6243662d773c85ea794756d119d1cf93eda70f41ce160907d111243a
size 246784

3
hpricot-0.8.1.gem Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6951dbdc2e67ea76a218c542e5697ce1463c22c7ea347e4ecf6eea3b6ae51d0
size 248320

View File

@ -1 +1,4 @@
addFilter("devel-file-in-non-devel-package")
addFilter("no-soname")
addFilter("non-executable-script")
addFilter("unstripped-binary-or-object")

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 4 23:50:57 UTC 2009 - chris@computersalat.de
- update to version 0.8.1
- some rpmlint fixes
-------------------------------------------------------------------
Fri Mar 20 16:40:27 CET 2009 - dmacvicar@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package rubygem-hpricot (Version 0.7)
# spec file for package rubygem-hpricot (Version 0.8.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 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
@ -16,42 +16,44 @@
#
# norootforbuild
Name: rubygem-hpricot
Version: 0.7
Version: 0.8.1
Release: 0
%define mod_name hpricot
#
License: MIT
Group: Development/Languages/Ruby
License: GPLv2+ or Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems >= 1.3.5
BuildRequires: ragel
Requires: rubygems >= 0.8.11
%define mod_name hpricot
%if 0%{?suse_version} >= 1100
BuildRequires: fdupes
%endif
BuildRequires: dos2unix
#
Url: http://code.whytheluckystiff.net/hpricot/
Source: http://gems.rubyforge.org/gems/hpricot-%{version}.gem
Source: %{mod_name}-%{version}.gem
Source1: rubygem-%{mod_name}-rpmlintrc
#
Summary: A fast, flexible HTML parser in C.
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.)
Authors:
--------
why the lucky stiff
A swift, liberal HTML parser with a fantastic library
%prep
%build
%install
gem install --local --build-root=%{buildroot} %{S:0}
gem_build_cleanup %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%gem_install %{S:0}
%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
# files-duplicate
%if 0%{?suse_version} >= 1100
%fdupes %{buildroot}
%endif
%clean
%{__rm} -rf %{buildroot}