8
0

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:
Ruediger Oertel
2011-02-07 11:25:59 +00:00
committed by Git OBS Bridge
2 changed files with 19 additions and 11 deletions

View File

@@ -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 Wed Dec 1 15:49:03 UTC 2010 - coolo@novell.com

View File

@@ -15,25 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: perl-HTML-Scrubber Name: perl-HTML-Scrubber
%define cpan_name HTML-Scrubber
Summary: HTML::Scrubber Perl module
Version: 0.08 Version: 0.08
Release: 1 Release: 1
License: Distributable, see LICENSE 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 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: http://www.cpan.org/authors/id/P/PO/PODMASTER/HTML-Scrubber-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2 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 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 %description
If you wanna "scrub" or "sanitize" html input in a reliable an flexible If you wanna "scrub" or "sanitize" html input in a reliable an flexible
@@ -45,6 +44,9 @@ directly with HTML::Parser.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
### rpmlint
# wrong-file-end-of-line-encoding
%{__perl} -pi -e 's|\r\n|\n|' Changes LICENSE README
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor