1
0
Marcus Rückert 2009-12-08 17:16:00 +00:00 committed by Git OBS Bridge
parent 13035c797f
commit f480a3852c
2 changed files with 4 additions and 13 deletions

View File

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

View File

@ -22,15 +22,12 @@ Release: 0
%define mod_name hpricot
#
Group: Development/Languages/Ruby
License: GPLv2+ or Ruby
License: MIT
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems >= 1.3.5
BuildRequires: ragel
%if 0%{?suse_version} >= 1100
BuildRequires: fdupes
%endif
BuildRequires: dos2unix
#
Url: http://code.whytheluckystiff.net/hpricot/
@ -39,21 +36,18 @@ Source1: rubygem-%{mod_name}-rpmlintrc
#
Summary: A swift, liberal HTML parser with a fantastic library
%description
A swift, liberal HTML parser with a fantastic library
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.)
%prep
%build
%install
%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}