[perl-WebService-Validator-CSS-W3C] 0.3 bump
Petr Pisar
ppisar at fedoraproject.org
Mon May 6 13:13:57 UTC 2013
commit afc4e2a90ba68f37cb8a47bb7a90381731af1c37
Author: Petr Písař <ppisar at redhat.com>
Date: Mon May 6 15:09:49 2013 +0200
0.3 bump
.gitignore | 1 +
.rpmlint | 2 +
WebService-Validator-CSS-W3C-0.2-rt33039.patch | 34 -----------------
perl-WebService-Validator-CSS-W3C.spec | 47 ++++++++++++------------
sources | 2 +-
5 files changed, 28 insertions(+), 58 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e26d2d4..68f5728 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
WebService-Validator-CSS-W3C-0.2.tar.gz
+/WebService-Validator-CSS-W3C-0.3.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..ac93ab1
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* http");
diff --git a/perl-WebService-Validator-CSS-W3C.spec b/perl-WebService-Validator-CSS-W3C.spec
index d3c33a7..3b81bae 100644
--- a/perl-WebService-Validator-CSS-W3C.spec
+++ b/perl-WebService-Validator-CSS-W3C.spec
@@ -1,62 +1,63 @@
Name: perl-WebService-Validator-CSS-W3C
-Version: 0.2
-Release: 12%{?dist}
+Version: 0.3
+Release: 1%{?dist}
Summary: Interface to the W3C CSS Validator
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/WebService-Validator-CSS-W3C/
-Source0: http://www.cpan.org/authors/id/O/OL/OLIVIERT/WebService/WebService-Validator-CSS-W3C-%{version}.tar.gz
-Patch0: WebService-Validator-CSS-W3C-0.2-rt33039.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://www.cpan.org/authors/id/B/BJ/BJOERN/WebService-Validator-CSS-W3C-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(Class::Accessor)
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Class::Accessor)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(SOAP::Lite) >= 0.65
+BuildRequires: perl(strict)
BuildRequires: perl(URI)
BuildRequires: perl(URI::QueryParam)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(Test)
+BuildRequires: perl(Test::More)
+# Optionals tests:
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Class::Accessor)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module is an interface to the W3C CSS Validation online service
-http://jigsaw.w3.org/css-validator/, based on its SOAP 1.2 support.
+<http://jigsaw.w3.org/css-validator/>, based on its SOAP 1.2 support.
It helps to find errors in Cascading Style Sheets.
%prep
%setup -q -n WebService-Validator-CSS-W3C-%{version}
-%patch0 -p1
-
-%{__sed} -i 's/\r//' Changes
-%{__sed} -i 's/\r//' README
+sed -i 's/\r//' Changes README
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon May 06 2013 Petr Pisar <ppisar at redhat.com> - 0.3-1
+- 0.3 bump
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 5aac7b1..85496af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bac54611541f72e1cfd12949afae9a1f WebService-Validator-CSS-W3C-0.2.tar.gz
+8d693dac358d72f896fbff489f26581e WebService-Validator-CSS-W3C-0.3.tar.gz
More information about the scm-commits
mailing list