[perl-WebService-Validator-HTML-W3C] 0.28 bump and some cleanup

Petr Šabata psabata at fedoraproject.org
Tue Jan 24 14:47:20 UTC 2012


commit 024d1acbb1e2ac4a252ed7aaf37ce2ddd02305b5
Author: Petr Šabata <contyk at redhat.com>
Date:   Tue Jan 24 15:44:03 2012 +0100

    0.28 bump and some cleanup

 .gitignore                              |    1 +
 perl-WebService-Validator-HTML-W3C.spec |   36 +++++++++++++++++-------------
 sources                                 |    2 +-
 3 files changed, 22 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8ff23ab..517ee20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 WebService-Validator-HTML-W3C-0.24.tar.gz
 /WebService-Validator-HTML-W3C-0.26.tar.gz
 /WebService-Validator-HTML-W3C-0.27.tar.gz
+/WebService-Validator-HTML-W3C-0.28.tar.gz
diff --git a/perl-WebService-Validator-HTML-W3C.spec b/perl-WebService-Validator-HTML-W3C.spec
index 267a17c..91c4480 100644
--- a/perl-WebService-Validator-HTML-W3C.spec
+++ b/perl-WebService-Validator-HTML-W3C.spec
@@ -1,26 +1,25 @@
 Name:           perl-WebService-Validator-HTML-W3C
-Version:        0.27
-Release:        2%{?dist}
+Version:        0.28
+Release:        1%{?dist}
 Summary:        Access the W3Cs online HTML validator
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/WebService-Validator-HTML-W3C/
 Source0:        http://www.cpan.org/authors/id/S/ST/STRUAN/WebService-Validator-HTML-W3C-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(base)
 BuildRequires:  perl(Class::Accessor)
-BuildRequires:  perl(LWP)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(HTTP::Response)
+BuildRequires:  perl(LWP::UserAgent)
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::More)
-# Tests only:
-BuildRequires:  perl(Test::Pod) >= 1.00
-BuildRequires:  perl(Test::Pod::Coverage) >= 0.08
-Requires:       perl(Class::Accessor)
-Requires:       perl(SOAP::Lite)
-Requires:       perl(URI)
-Requires:       perl(URI::QueryParam)
-Requires:       perl(Carp::Clan)
+BuildRequires:  perl(Test::Without::Module)
+BuildRequires:  perl(URI::Escape)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 WebService::Validator::HTML::W3C provides access to the W3C's online Markup
 validator. As well as reporting on whether a page is valid it also provides
@@ -31,23 +30,28 @@ they occur.
 %setup -q -n WebService-Validator-HTML-W3C-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
 
 %check
 ./Build test
 
 %files
-%doc Changes README
+%doc Changes README examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 24 2012 Petr Šabata <contyk at redhat.com> - 0.28-1
+- 0.28 bump
+- Spec cleanup
+- Package examples and thus add perl_default_filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.27-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 40df984..67b1843 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f8da3e2fba51dee955ee8a79db46b04d  WebService-Validator-HTML-W3C-0.27.tar.gz
+6ea7012db4f047460881cfd3fa377f95  WebService-Validator-HTML-W3C-0.28.tar.gz


More information about the scm-commits mailing list