From c7876ab37d23176a8fa4491ffc1ee00983e9a944 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Sat, 10 Dec 2016 06:39:01 +0100
Subject: Update to 2.24.

- Drop 0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch.
---
 .gitignore                                         |  2 +-
 ...equired-errors-are-now-sorted-by-tag-name.patch | 46 ----------------------
 perl-HTML-Lint.spec                                | 18 +++++----
 sources                                            |  2 +-
 4 files changed, 13 insertions(+), 55 deletions(-)
 delete mode 100644 
0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch

diff --git a/.gitignore b/.gitignore
index 18ef76d..926547c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/HTML-Lint-2.22.tar.gz
+/HTML-Lint-2.24.tar.gz
diff --git a/0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch 
b/0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch
deleted file mode 100644
index 7f35291..0000000
--- a/0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 503ad38530d6796fbef6fe74dd20d07b98e4143b Mon Sep 17 00:00:00 2001
-From: Andy Lester <a...@petdance.com>
-Date: Tue, 7 Apr 2015 09:57:09 -0500
-Subject: [PATCH] doc-tag-required errors are now sorted by tag name.
-
----
- Changes                 | 9 +++++++++
- lib/HTML/Lint/Parser.pm | 2 +-
- 2 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/Changes b/Changes
-index 01f254c..3093c8a 100644
---- a/Changes
-+++ b/Changes
-@@ -6,6 +6,15 @@ NOTE: All bugs and requests are now being handled through 
GitHub.
- 
- Please DO NOT send bug reports to http://rt.cpan.org/.
- 
-+NEXT
-+
-+    [FIXES]
-+    Errors of the type doc-tag-required did not come out in any defined
-+    order.  They are now sorted by tag name.  This was discovered
-+    because hash randomization caused tests to fail on Perl 5.18 and
-+    above. Thanks, Slaven Rezic and Andrew Main.
-+
-+
- 2.22    Mon Apr  6 15:47:11 CDT 2015
-     [CHANGES THAT COULD BREAK YOUR CODE]
-     Previously, html_ok() would not check the entire structure of a web
-diff --git a/lib/HTML/Lint/Parser.pm b/lib/HTML/Lint/Parser.pm
-index aa1e337..5c60915 100644
---- a/lib/HTML/Lint/Parser.pm
-+++ b/lib/HTML/Lint/Parser.pm
-@@ -102,7 +102,7 @@ sub _start_document {
- sub _end_document {
-     my ($self,$line,$column) = @_;
- 
--    for my $tag ( keys %isRequired ) {
-+    for my $tag ( sort keys %isRequired ) {
-         if ( !$self->{_first_seen}->{$tag} ) {
-             $self->gripe( 'doc-tag-required', tag => $tag );
-         }
--- 
-2.1.0
-
diff --git a/perl-HTML-Lint.spec b/perl-HTML-Lint.spec
index 3da0912..22016fb 100644
--- a/perl-HTML-Lint.spec
+++ b/perl-HTML-Lint.spec
@@ -1,15 +1,16 @@
 Name:           perl-HTML-Lint
-Version:        2.22
-Release:        7%{?dist}
+Version:        2.24
+Release:        1%{?dist}
 Summary:        HTML::Lint Perl module
 License:        Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTML-Lint/
 Source0:        
http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Lint-%{version}.tar.gz
-# https://github.com/petdance/html-lint/commit/f5115c7
-Patch0:         0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch
 BuildArch:      noarch
 BuildRequires:  perl-generators
+BuildRequires:  %{__make}
+BuildRequires:  %{__perl}
+
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTML::Parser) >= 3.47
 BuildRequires:  perl(HTML::Tagset) >= 3.03
@@ -34,18 +35,17 @@ legitmacy.
 
 %prep
 %setup -q -n HTML-Lint-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+%{__make} test
 
 %files
 %doc Changes README
@@ -54,6 +54,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Dec 10 2016 Ralf Corsépius <corse...@fedoraproject.org> - 2.24-1
+- Update to 2.24.
+- Drop 0001-doc-tag-required-errors-are-now-sorted-by-tag-name.patch.
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 2.22-7
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 7435cc5..4646c4f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b04ea191d1ffbcfd798097239a0a70ee  HTML-Lint-2.22.tar.gz
+913b13b47d53b3b06c1fcbaff6ca80f2  HTML-Lint-2.24.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-HTML-Lint.git/commit/?h=master&id=c7876ab37d23176a8fa4491ffc1ee00983e9a944
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to