[perl-HTML-Tidy] Update to 1.54
Paul Howarth
pghmcfc at fedoraproject.org
Tue Nov 30 19:13:53 UTC 2010
commit cff2d827e398d23e1771aa501d6a914f6f53a5c0
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Nov 30 19:13:09 2010 +0000
Update to 1.54
- New upstream release 1.54
- Build against libtidyp rather than libtidy
- License changed from "same as Perl" to Artistic 2.0
- Drop old patch, no longer needed
- README changed to README.markdown
- Add dependencies on perl(Exporter) and perl(LWP::Simple)
- Use %{?perl_default_filter}
.gitignore | 2 +-
perl-HTML-Tidy.spec | 37 +++++++++++++++++++++++++------------
sources | 2 +-
tidy.patch | 19 -------------------
4 files changed, 27 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e4ca8e9..daa889f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-HTML-Tidy-1.08.tar.gz
+/HTML-Tidy-1.54.tar.gz
diff --git a/perl-HTML-Tidy.spec b/perl-HTML-Tidy.spec
index 2acdf73..ba64016 100644
--- a/perl-HTML-Tidy.spec
+++ b/perl-HTML-Tidy.spec
@@ -1,19 +1,22 @@
Name: perl-HTML-Tidy
-Version: 1.08
-Release: 7%{?dist}
+Version: 1.54
+Release: 1%{?dist}
Summary: (X)HTML cleanup in a Perl object
-License: GPL+ or Artistic
+License: Artistic 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTML-Tidy/
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tidy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# see http://rt.cpan.org/Public/Bug/Display.html?id=29593
-Patch0: tidy.patch
+# needed by webtidy to fetch URLs
+Requires: perl(LWP::Simple)
+
+# use base 'Exporter';
+Requires: perl(Exporter)
# non-perl
-BuildRequires: libtidy-devel
+BuildRequires: libtidyp-devel
# core
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Builder)
@@ -22,6 +25,7 @@ BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
+%{?perl_default_filter}
%description
HTML::Tidy is an HTML checker in a handy dandy object. It's meant as a
@@ -30,7 +34,6 @@ looking to migrate, see the section "Converting from HTML::Lint".
%prep
%setup -q -n HTML-Tidy-%{version}
-%patch0
find . -type f -exec chmod -c -x {} +
find . -type f -exec perl -pi -e 's/\r//' {} +
@@ -59,13 +62,23 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc Changes README t/
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/HTML*
-%{_bindir}/*
-%{_mandir}/man3/*
+%doc Changes README* t/
+%{perl_vendorarch}/auto/HTML/
+%{perl_vendorarch}/HTML/
+%{_bindir}/webtidy
+%{_mandir}/man3/HTML::Tidy.3pm*
+%{_mandir}/man3/HTML::Tidy::Message.3pm*
%changelog
+* Tue Nov 30 2010 Paul Howarth <paul at city-fan.org> - 1.54-1
+- Update to 1.54
+- Build against libtidyp rather than libtidy
+- License changed from "same as Perl" to Artistic 2.0
+- Drop old patch, no longer needed
+- README changed to README.markdown
+- Add dependencies on perl(Exporter) and perl(LWP::Simple)
+- Use %%{?perl_default_filter}
+
* Sun May 02 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.08-7
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index a3bc99d..6936531 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-adf83cfa6dcfb9de1283f771ad9c2e0d HTML-Tidy-1.08.tar.gz
+3025e63d5a85d2abfa793dc1353f8752 HTML-Tidy-1.54.tar.gz
More information about the perl-devel
mailing list