diff --git a/HTML-Tidy-1.08.tar.bz2 b/HTML-Tidy-1.08.tar.bz2 deleted file mode 100644 index 57e27f4..0000000 --- a/HTML-Tidy-1.08.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85f828903f76fa8df94587819e6218c5c79ed3b12af96192f8465df09487e217 -size 25616 diff --git a/HTML-Tidy-1.54.tar.gz b/HTML-Tidy-1.54.tar.gz new file mode 100644 index 0000000..4668b92 --- /dev/null +++ b/HTML-Tidy-1.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f72ef3c244482033e5cc7c87859425b3afcf6ebbdeca54e67d323528614461b +size 25561 diff --git a/perl-HTML-Tidy.changes b/perl-HTML-Tidy.changes index 07c5481..a427442 100644 --- a/perl-HTML-Tidy.changes +++ b/perl-HTML-Tidy.changes @@ -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 diff --git a/perl-HTML-Tidy.spec b/perl-HTML-Tidy.spec index 9bd08a6..4fd81fd 100644 --- a/perl-HTML-Tidy.spec +++ b/perl-HTML-Tidy.spec @@ -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, +'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 diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000