- updated to 1.54

* Fixed incorrect calls to croak().  Thanks, Steve Grazzini.
- update to 1.52 
  * First release since the major overhaul that relies on libtidyp.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Tidy?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2011-04-12 18:16:37 +00:00 committed by Git OBS Bridge
parent efec878c36
commit e015cb3fed
5 changed files with 58 additions and 53 deletions

View File

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

3
HTML-Tidy-1.54.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Apr 12 17:53:56 UTC 2011 - coolo@opensuse.org
- updated to 1.54
* Fixed incorrect calls to croak(). Thanks, Steve Grazzini.
- update to 1.52
* First release since the major overhaul that relies on libtidyp.
-------------------------------------------------------------------
Tue Nov 30 19:20:19 UTC 2010 - coolo@novell.com

View File

@ -1,78 +1,74 @@
#
# spec file for package perl-HTML-Tidy (Version 1.08)
# spec file for package perl-HTML-Tidy (Version 1.54)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Copyright (c) 2010 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-HTML-Tidy
Version: 1.08
Version: 1.54
Release: 1
Summary: HTML checker module for Perl
License: Artistic 2.0
%define cpan_name HTML-Tidy
Summary: (X)HTML validation in a Perl object
Url: http://search.cpan.org/dist/HTML-Tidy/
Group: Development/Libraries/Perl
License: Artistic License, GPL v2 or later
URL: http://search.cpan.org/dist/HTML-Tidy/
Source0: HTML-Tidy-%{version}.tar.bz2
Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tidy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# MANUAL
BuildRequires: libtidyp-devel
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: libtidy-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More)
Requires: perl(Carp)
Requires: perl(constant)
Requires: perl(Exporter)
Requires: perl(overload)
Requires: perl(Test::Builder)
Requires: perl(Test::More)
%{perl_requires}
%description
HTML::Tidy is an HTML checker in a handy dandy Perl object. Its meant
as a replacement for HTML::Lint.
Authors:
--------
Andy Lester, <andy at petdance.com>
'HTML::Tidy' is an HTML checker in a handy dandy object. It's meant as a
replacement for HTML::Lint. If you're currently an HTML::Lint user looking
to migrate, see the section the /Converting from HTML::Lint manpage.
%prep
%setup -q -n HTML-Tidy-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%__make %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%__rm -rf $RPM_BUILD_ROOT
%check
%__make test || : # http://rt.cpan.org/Ticket/Display.html?id=26875
%files
%defattr(-, root, root)
%doc Changes README
%{_bindir}/webtidy
%dir %{perl_vendorarch}/HTML
%{perl_vendorarch}/HTML/Tidy.pm
%dir %{perl_vendorarch}/HTML/Tidy
%{perl_vendorarch}/HTML/Tidy/Message.pm
%dir %{perl_vendorarch}/auto/HTML
%dir %{perl_vendorarch}/auto/HTML/Tidy
%{perl_vendorarch}/auto/HTML/Tidy/Tidy*
%{_mandir}/man3/HTML::Tidy*.gz
%files -f %{name}.files
%defattr(-,root,root,755)
%doc %attr(644,-,-) Changes README.markdown
%changelog
* Tue Jul 31 2007 - pgajdos@suse.cz
- moved from OBS, version 1.08
* Fri Jun 22 2007 - sierkb@gmx.de
- small changes to the spec file
- 1.08, don't fail on failing test suite for now, see
http://rt.cpan.org/Ticket/Display.html?id=26875
* Thu Jun 21 2007 - suse-tux@gmx.de
- initial build

0
ready
View File