[perl-HTML-Lint] License change. Upstream update. Spec file cleanup.

corsepiu corsepiu at fedoraproject.org
Thu Dec 15 15:26:26 UTC 2011


commit a07f6132e64c1b4cdb05ba35770851fcb7f26c09
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Dec 15 16:26:24 2011 +0100

    License change.
    Upstream update.
    Spec file cleanup.

 .gitignore          |    2 +-
 perl-HTML-Lint.spec |   19 ++++++++++---------
 sources             |    2 +-
 3 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e3ab8a7..b1bc1c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-HTML-Lint-2.06.tar.gz
+/HTML-Lint-2.10.tar.gz
diff --git a/perl-HTML-Lint.spec b/perl-HTML-Lint.spec
index f8bfc8b..56552d7 100644
--- a/perl-HTML-Lint.spec
+++ b/perl-HTML-Lint.spec
@@ -1,18 +1,19 @@
 Name:           perl-HTML-Lint
-Version:        2.06
-Release:        8%{?dist}
+Version:        2.10
+Release:        1%{?dist}
 Summary:        HTML::Lint Perl module
-License:        GPL+ or Artistic
+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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTML::Parser) >= 3.20
 BuildRequires:  perl(HTML::Tagset) >= 3.03
 BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(Test::More)
+# Optional
+BuildRequires:  perl(LWP::Simple)
 
 # For improved testing
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
@@ -35,8 +36,6 @@ legitmacy.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -47,9 +46,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -58,6 +54,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Dec 15 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 2.10-1
+- License change.
+- Upstream update.
+- Spec file cleanup.
+
 * Tue Jun 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.06-8
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 873c403..f45e8a7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-60bd27c6ff0bb291a9fead0cd474b75f  HTML-Lint-2.06.tar.gz
+17d364920349ee989242c5d660638a78  HTML-Lint-2.10.tar.gz



More information about the perl-devel mailing list