[perl-XML-TreeBuilder/f14/master] Add Test::More to build requires
by Rüdiger Landmann
commit 68e05a4be3ac24496ae66843a53d0e0381b9ef83
Author: Ruediger Landmann <r.landmann(a)redhat.com>
Date: Tue Jan 4 09:01:51 2011 +1000
Add Test::More to build requires
.gitignore | 1 +
XML-TreeBuilder-NoExpand.patch | 267 ----------------------------------------
perl-XML-TreeBuilder.spec | 24 +++--
sources | 2 +-
4 files changed, 17 insertions(+), 277 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8de7776..24fafa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
XML-TreeBuilder-3.09.tar.gz
+/XML-TreeBuilder-4.0.tar.gz
diff --git a/perl-XML-TreeBuilder.spec b/perl-XML-TreeBuilder.spec
index e9ab5cc..bb58db2 100644
--- a/perl-XML-TreeBuilder.spec
+++ b/perl-XML-TreeBuilder.spec
@@ -1,22 +1,20 @@
Summary: Parser that builds a tree of XML::Element objects
Name: perl-XML-TreeBuilder
-Version: 3.09
-Release: 19%{?dist}
+Version: 4.0
+Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-TreeBuilder/
-# have to:
-# push the patch upstream
-Source: http://www.cpan.org/modules/by-module/XML/XML-TreeBuilder-%{version}.tar.gz
-Patch0: XML-TreeBuilder-NoExpand.patch
+Source: http://www.cpan.org/modules/by-authors/id/J/JF/JFEARN/XML-TreeBuilder-%{v...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(HTML::Element)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(HTML::Element) >= 4.1
BuildRequires: perl(HTML::Tagset)
BuildRequires: perl(XML::Parser)
-Requires: perl(HTML::Element) perl(HTML::Tagset) perl(XML::Parser)
+Requires: perl(HTML::Element) >= 4.1 perl(HTML::Tagset) perl(XML::Parser)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -25,7 +23,6 @@ that builds a tree of XML::Element objects.
%prep
%setup -q -n XML-TreeBuilder-%{version}
-%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"
@@ -51,6 +48,15 @@ find $RPM_BUILD_ROOT -name .packlist -exec %{__rm} {} \;
%{perl_vendorlib}/XML/
%changelog
+* Tue Jan 4 2011 Rüdiger Landmann <r.landmann(a)redhat.com> - 4.0-3
+- Add Test::More to build requires
+
+* Thu Dec 23 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 4.0-2
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Thu Dec 02 2010 Jeff Fearn <jfearn(a)redhat.com> - 4.0-1
+- New upstream
+
* Fri May 07 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 3.09-19
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index a4a6028..79dccc6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-49e04fb6ba12b1414cb490e7f0c712a9 XML-TreeBuilder-3.09.tar.gz
+b1190367133fbf2807c488c2704588c4 XML-TreeBuilder-4.0.tar.gz
13 years, 4 months
[perl-XML-TreeBuilder] Add Test::More to build requires
by Rüdiger Landmann
commit 6ddf5f84df7a6a8a71ddcecbad728bc1840a143d
Author: Ruediger Landmann <r.landmann(a)redhat.com>
Date: Tue Jan 4 08:52:25 2011 +1000
Add Test::More to build requires
perl-XML-TreeBuilder.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/perl-XML-TreeBuilder.spec b/perl-XML-TreeBuilder.spec
index f53fd80..bb58db2 100644
--- a/perl-XML-TreeBuilder.spec
+++ b/perl-XML-TreeBuilder.spec
@@ -1,7 +1,7 @@
Summary: Parser that builds a tree of XML::Element objects
Name: perl-XML-TreeBuilder
Version: 4.0
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-TreeBuilder/
@@ -10,6 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
BuildRequires: perl(HTML::Element) >= 4.1
BuildRequires: perl(HTML::Tagset)
BuildRequires: perl(XML::Parser)
@@ -47,6 +48,9 @@ find $RPM_BUILD_ROOT -name .packlist -exec %{__rm} {} \;
%{perl_vendorlib}/XML/
%changelog
+* Tue Jan 4 2011 Rüdiger Landmann <r.landmann(a)redhat.com> - 4.0-3
+- Add Test::More to build requires
+
* Thu Dec 23 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 4.0-2
- 661697 rebuild for fixing problems with vendorach/lib
13 years, 4 months
[Bug 664362] New: RFE: Please update HTML::Tree to version 4.1
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: RFE: Please update HTML::Tree to version 4.1
https://bugzilla.redhat.com/show_bug.cgi?id=664362
Summary: RFE: Please update HTML::Tree to version 4.1
Product: Fedora
Version: 14
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: medium
Priority: low
Component: perl-HTML-Tree
AssignedTo: tcallawa(a)redhat.com
ReportedBy: r.landmann(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: tcallawa(a)redhat.com, fedora-perl-devel-list(a)redhat.com
Classification: Fedora
Target Release: ---
Description of problem:
Can we please have the new version of this module in Fedora 14 too? The
forthcoming version of Publican depends on a version of perl-XML-TreeBuilder
that requires version 4.1.
Ideally, we'd have this for Fedora 13 as well, but I can understand if you
don't want to update the module in such an old release. If you're open to the
idea, I'll open a separate bug for the request.
Cheers
Rudi
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years, 4 months
[perl-List-MoreUtils] remove unnecessary buildrequires
by Iain Arnell
commit 18ac5fa116b46649a8dadcb173b77c409ea7cc57
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Mon Jan 3 17:55:48 2011 +0100
remove unnecessary buildrequires
perl-List-MoreUtils.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec
index 2ccf267..06b5678 100644
--- a/perl-List-MoreUtils.spec
+++ b/perl-List-MoreUtils.spec
@@ -8,8 +8,7 @@ License: GPL+ or Artistic
URL: http://search.cpan.org/dist/List-MoreUtils/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{versio...
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(Test::More) >= 0.82
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@@ -53,6 +52,7 @@ make test
- update to latest upstream version
- clean up spec for modern rpmbuild
- use perl_default_filter
+- remove unnecessary buildrequires
* Mon Dec 20 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.22-12
- 661697 rebuild for fixing problems with vendorach/lib
13 years, 4 months
[perl-List-MoreUtils] update spec for modern rpmbuild
by Iain Arnell
commit 3f4c1c5c532d1e64449f36e0624c5003c015d4f1
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Mon Jan 3 17:52:51 2011 +0100
update spec for modern rpmbuild
perl-List-MoreUtils.spec | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec
index 619e520..2ccf267 100644
--- a/perl-List-MoreUtils.spec
+++ b/perl-List-MoreUtils.spec
@@ -7,12 +7,13 @@ Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/List-MoreUtils/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{versio...
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
List::MoreUtils provides some trivial but commonly needed functionality
on lists which is not going to go into List::Util.
@@ -28,7 +29,6 @@ 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 {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
@@ -40,10 +40,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
%defattr(-,root,root,-)
%doc Changes README LICENSE
@@ -55,6 +51,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Jan 03 2011 Iain Arnell <iarnell(a)gmail.com> 0.30-1
- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter
* Mon Dec 20 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.22-12
- 661697 rebuild for fixing problems with vendorach/lib
13 years, 4 months
[perl-List-MoreUtils] update to 0.30
by Iain Arnell
commit 2e0dc0e31cab8e91a6b5606105b34f557c55bb43
Author: Iain Arnell <iarnell(a)gmail.com>
Date: Mon Jan 3 17:48:39 2011 +0100
update to 0.30
.gitignore | 1 +
perl-List-MoreUtils.spec | 11 +++++++----
sources | 2 +-
3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1ad032f..4b32f16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
List-MoreUtils-0.22.tar.gz
+/List-MoreUtils-0.30.tar.gz
diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec
index fd3fbbe..619e520 100644
--- a/perl-List-MoreUtils.spec
+++ b/perl-List-MoreUtils.spec
@@ -1,12 +1,12 @@
Name: perl-List-MoreUtils
-Version: 0.22
-Release: 12%{?dist}
+Version: 0.30
+Release: 1%{?dist}
Summary: Provide the stuff missing in List::Util
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/List-MoreUtils/
-Source0: http://www.cpan.org/authors/id/V/VP/VPARSEVAL/List-MoreUtils-%{version}.t...
+Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{versio...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Test::Pod)
@@ -46,13 +46,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README LICENSE
%{perl_vendorarch}/List/
%{perl_vendorarch}/auto/List/
%{_mandir}/man3/*.3pm*
%changelog
+* Mon Jan 03 2011 Iain Arnell <iarnell(a)gmail.com> 0.30-1
+- update to latest upstream version
+
* Mon Dec 20 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.22-12
- 661697 rebuild for fixing problems with vendorach/lib
diff --git a/sources b/sources
index 2bef54c..8069886 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3a6ec506f40662ab1296c48c5eb72016 List-MoreUtils-0.22.tar.gz
+038963a96158747c00e76d1250d52f85 List-MoreUtils-0.30.tar.gz
13 years, 4 months
[perl-CPAN-Inject] t/02_main.t removal patch
by Petr Sabata
commit 6ba6cf2a732931929b3f5c6ac0a5dfded6d0c7e8
Author: Petr Sabata <psabata(a)redhat.com>
Date: Mon Jan 3 16:31:57 2011 +0100
t/02_main.t removal patch
CPAN-Inject-1.12-remove-02_main-test.patch | 149 ++++++++++++++++++++++++++++
1 files changed, 149 insertions(+), 0 deletions(-)
---
diff --git a/CPAN-Inject-1.12-remove-02_main-test.patch b/CPAN-Inject-1.12-remove-02_main-test.patch
new file mode 100644
index 0000000..82214b0
--- /dev/null
+++ b/CPAN-Inject-1.12-remove-02_main-test.patch
@@ -0,0 +1,149 @@
+--- CPAN-Inject-1.12/t/02_main.t 2010-12-17 16:08:05.000000000 +0100
++++ /dev/null 2011-01-03 07:58:11.146000002 +0100
+@@ -1,146 +0,0 @@
+-#!/usr/bin/perl
+-
+-# Main testing for CPAN::Inject
+-
+-use strict;
+-BEGIN {
+- $| = 1;
+- $^W = 1;
+-}
+-
+-use Test::More tests => 24;
+-use File::Spec::Functions ':ALL';
+-use File::Remove 'remove';
+-use CPAN::Inject;
+-
+-# Create a testing root directory
+-my $sources = catdir('t', 'sources');
+- if ( -e $sources ) { remove( \1, $sources ) }
+-END { if ( -e $sources ) { remove( \1, $sources ) } }
+-ok( ! -e $sources, 'No existing sources directory' );
+-mkdir $sources;
+-ok( -e $sources, 'Created sources directory' );
+-
+-
+-
+-
+-
+-#####################################################################
+-# Constructor, Accessors, and Basic Methods
+-
+-SCOPE: {
+- my $cpan = CPAN::Inject->new(
+- sources => $sources,
+- );
+- isa_ok( $cpan, 'CPAN::Inject' );
+- is( $cpan->sources, $sources, '->sources ok' );
+- is( $cpan->author, 'LOCAL', '->author ok' );
+- is(
+- $cpan->author_subpath,
+- catdir('authors', 'id', 'L', 'LO', 'LOCAL' ),
+- '->author_subpath ok',
+- );
+- is(
+- $cpan->author_path,
+- catdir($sources, 'authors', 'id', 'L', 'LO', 'LOCAL' ),
+- '->author_path ok',
+- );
+- is(
+- $cpan->install_path('Perl-Tarball-1.00.tar.gz'),
+- 'LOCAL/Perl-Tarball-1.00.tar.gz',
+- '->install_path ok',
+- );
+- is(
+- $cpan->install_path(
+- catfile('foo', 'bar', 'Perl-Tarball-1.00.tar.gz'),
+- ),
+- 'LOCAL/Perl-Tarball-1.00.tar.gz',
+- '->install_path ok',
+- );
+-}
+-
+-SCOPE: {
+- my $cpan = CPAN::Inject->new(
+- sources => $sources,
+- author => 'ADAMK',
+- );
+- isa_ok( $cpan, 'CPAN::Inject' );
+- is( $cpan->sources, $sources, '->sources ok' );
+- is( $cpan->author, 'ADAMK', '->author ok' );
+-}
+-
+-SCOPE: {
+- my $cpan = eval {
+- CPAN::Inject->from_cpan_config(
+- author => 'ADAMK',
+- );
+- };
+- SKIP: {
+- skip( "Current user owns CPAN::Config", 1 ) unless $@;
+- like($@,
+- qr/(The directory .* does not exist|The sources directory is not owned by the current user)/,
+- 'Got expected error',
+- );
+- }
+- SKIP: {
+- skip( "Current user does not own CPAN::Config", 2 ) if $@;
+- isa_ok( $cpan, 'CPAN::Inject' );
+- is( $cpan->author, 'ADAMK', '->author ok' );
+- }
+-}
+-
+-
+-
+-
+-
+-#####################################################################
+-# Add a distribution
+-
+-SCOPE: {
+- my $cpan = CPAN::Inject->new(
+- sources => $sources,
+- );
+- isa_ok( $cpan, 'CPAN::Inject' );
+-
+- # Add the distribution
+- my $dist = catfile( 't', 'data', 'Config-Tiny-2.09.tar.gz' );
+- ok( -f $dist, 'Test distribution exists' );
+- is(
+- $cpan->add( file => $dist ),
+- 'LOCAL/Config-Tiny-2.09.tar.gz',
+- '->add ok',
+- );
+- my $author = catdir($sources, 'authors', 'id', 'L', 'LO', 'LOCAL');
+- ok( -d $author, 'Created LOCAL base directory' );
+- ok(
+- -f catfile($author, 'Config-Tiny-2.09.tar.gz'),
+- 'Copied distribution to the correct destination',
+- );
+- ok(
+- -f catfile($author, 'CHECKSUMS'),
+- 'Created CHECKSUMS file',
+- );
+-}
+-
+-#####################################################################
+-# Remove a distribution
+-
+-SCOPE: {
+- my $cpan = CPAN::Inject->new(
+- sources => $sources,
+- );
+- isa_ok( $cpan, 'CPAN::Inject' );
+-
+- # Remove the distribution
+- ok(
+- eval { $cpan->remove( dist => 'LOCAL/Config-Tiny-2.09.tar.gz' ); 1 },
+- '->remove ok',
+- );
+- my $author = catdir($sources, 'authors', 'id', 'L', 'LO', 'LOCAL');
+- ok(
+- ! -f catfile($author, 'Config-Tiny-2.09.tar.gz'),
+- 'Removed distribution file',
+- );
+-}
+-
+-1;
13 years, 4 months