forked from pool/perl-HTML-Scrubber
Accepting request 60119 from devel:languages:perl
Accepted submit request 60119 from user computersalat OBS-URL: https://build.opensuse.org/request/show/60119 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Scrubber?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 4 23:15:37 UTC 2011 - chris@computersalat.de
|
||||
|
||||
- rpmlint
|
||||
o wrong-file-end-of-line-encoding
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 15:49:03 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -15,25 +15,24 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-HTML-Scrubber
|
||||
%define cpan_name HTML-Scrubber
|
||||
Summary: HTML::Scrubber Perl module
|
||||
Version: 0.08
|
||||
Release: 1
|
||||
License: Distributable, see LICENSE
|
||||
%define cpan_name HTML-Scrubber
|
||||
Summary: HTML::Scrubber Perl module
|
||||
Url: http://search.cpan.org/dist/HTML-Scrubber/
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/HTML-Scrubber/
|
||||
#Source: http://www.cpan.org/authors/id/P/PO/PODMASTER/HTML-Scrubber-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(HTML::Parser) >= 3
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl(HTML::Parser) >= 3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(HTML::Parser) >= 3
|
||||
Requires: perl(HTML::Parser) >= 3
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
If you wanna "scrub" or "sanitize" html input in a reliable an flexible
|
||||
@@ -45,6 +44,9 @@ directly with HTML::Parser.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
### rpmlint
|
||||
# wrong-file-end-of-line-encoding
|
||||
%{__perl} -pi -e 's|\r\n|\n|' Changes LICENSE README
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
Reference in New Issue
Block a user