[perl-HTML-FormatText-WithLinks/el6] new package for el6
by Rüdiger Landmann
commit 6ada91085a2fa69ef7fc111ad871505bc4bf596d
Author: Ruediger Landmann <r.landmann(a)redhat.com>
Date: Thu Apr 3 14:05:56 2014 +1000
new package for el6
perl-HTML-FormatText-WithLinks.spec | 115 ++++++++---------------------------
1 files changed, 26 insertions(+), 89 deletions(-)
---
diff --git a/perl-HTML-FormatText-WithLinks.spec b/perl-HTML-FormatText-WithLinks.spec
index c780bfa..a79bdee 100644
--- a/perl-HTML-FormatText-WithLinks.spec
+++ b/perl-HTML-FormatText-WithLinks.spec
@@ -1,118 +1,55 @@
Name: perl-HTML-FormatText-WithLinks
Version: 0.14
-Release: 6%{?dist}
+Release: 1%{?dist}
Summary: HTML to text conversion with links as footnotes
-
-Group: Development/Libraries
License: GPL+ or Artistic
-URL: http://search.cpan.org/dist/HTML-FormatText-WithLinks
-Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STRUAN/HTML-FormatText-WithLi...
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/HTML-FormatText-WithLinks/
+Source0: http://www.cpan.org/authors/id/S/ST/STRUAN/HTML-FormatText-WithLinks-%{ve...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(HTML::FormatText) perl(HTML::TreeBuilder)
+BuildRequires: perl(HTML::FormatText) >= 2
+BuildRequires: perl(HTML::TreeBuilder)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::More)
BuildRequires: perl(URI::WithBase)
-BuildRequires: perl(Test::MockObject) perl(Test::Pod::Coverage)
-BuildRequires: perl(Test::Pod) perl(Test::More)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-# not picked up automatically since it is called through SUPER
-Requires: perl(HTML::FormatText) >= 2
+Requires: perl(HTML::FormatText) >= 2
+Requires: perl(HTML::TreeBuilder)
+Requires: perl(URI::WithBase)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
-HTML::FormatText::WithLinks takes HTML and turns it into plain text but
-prints all the links in the HTML as footnotes. By default, it attempts
-to mimic the format of the lynx text based web browser's --dump option.
+HTML::FormatText::WithLinks takes HTML and turns it into plain text but
+prints all the links in the HTML as footnotes. By default, it attempts to
+mimic the format of the lynx text based web browser's --dump option.
%prep
%setup -q -n HTML-FormatText-WithLinks-%{version}
-
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
+%{__perl} Build.PL installdirs=vendor
+./Build
%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 d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%check
-make test
+%{_fixperms} $RPM_BUILD_ROOT/*
+%check
+./Build test
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes examples README
%{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
-
+%{_mandir}/man3/*
%changelog
-* Fri Jul 20 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.14-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Thu Jun 21 2012 Petr Pisar <ppisar(a)redhat.com> - 0.14-5
-- Perl 5.16 rebuild
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.14-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Wed Jul 20 2011 Petr Sabata <contyk(a)redhat.com> - 0.14-3
-- Perl mass rebuild
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.14-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Mon Dec 13 2010 Petr Sabata <psabata(a)redhat.com> - 0.14-1
-- 0.14 bump
-
-* Thu Dec 2 2010 Petr Sabata <psabata(a)redhat.com> - 0.12-1
-- 0.12 bump
-
-* Wed Sep 15 2010 Petr Pisar <ppisar(a)redhat.com> - 0.11-1
-- 0.11 bump
-
-* Sun May 02 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.09-8
-- Mass rebuild with perl-5.12.0
-
-* Mon Dec 7 2009 Stepan Kasal <skasal(a)redhat.com> - 0.09-7
-- rebuild against perl 5.10.1
-
-* Sat Jul 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.09-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.09-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.09-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 0.09-3
-- fix license tag (it may be correct, but its flagging as a false positive on checks)
-
-* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 0.09-2
-- Rebuild for new perl
-
-* Wed Aug 8 2007 Patrice Dumas <pertusus(a)free.fr> 0.09-1
-- update to 0.09
-
-* Sun Sep 17 2006 Patrice Dumas <pertusus(a)free.fr> 0.07-1
-- update to 0.07
-
-* Fri Sep 15 2006 Patrice Dumas <pertusus(a)free.fr> 0.06-3
-- add Requires for perl(HTML::FormatText), fix #206729
-
-* Tue Aug 29 2006 Patrice Dumas <pertusus(a)free.fr> 0.06-2
-- added BuildRequires for tests
-
-* Tue Jul 18 2006 Patrice Dumas <pertusus(a)free.fr> 0.06-1
-- Initial packaging
+* Tue Jun 07 2011 Jeff fearn <jfearn(a)redhat.com> 0.14-1
+- Specfile autogenerated by cpanspec 1.78.
10 years, 1 month
[perl-Dist-CheckConflicts] Specify version requirements for extra test modules
by Paul Howarth
commit b7660f94b090c80b2eb20e5db2c87e0bf1a51f52
Author: Paul Howarth <paul(a)city-fan.org>
Date: Thu Apr 3 21:03:20 2014 +0100
Specify version requirements for extra test modules
perl-Dist-CheckConflicts.spec | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-Dist-CheckConflicts.spec b/perl-Dist-CheckConflicts.spec
index 24630eb..0b5b069 100644
--- a/perl-Dist-CheckConflicts.spec
+++ b/perl-Dist-CheckConflicts.spec
@@ -33,8 +33,8 @@ BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::NoTabs)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(Test::Pod) >= 1.41
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -96,6 +96,7 @@ rm -rf %{buildroot}
(https://github.com/doy/dist-checkconflicts/pull/8)
- Update patch for building with Test::More < 0.88
- Don't try to run the extra tests for EPEL builds
+- Specify version requirements for extra test modules
* Wed Dec 18 2013 Paul Howarth <paul(a)city-fan.org> - 0.10-1
- Update to 0.10
10 years, 1 month
[perl-Dist-CheckConflicts] Update to 0.11
by Paul Howarth
commit aa43b7dc4faac3223c3c505caafc05ab0dacf939
Author: Paul Howarth <paul(a)city-fan.org>
Date: Thu Apr 3 20:52:35 2014 +0100
Update to 0.11
- New upstream release 0.11
- Drop the dep on List::MoreUtils
(https://github.com/doy/dist-checkconflicts/pull/8)
- Update patch for building with Test::More < 0.88
- Don't try to run the extra tests for EPEL builds
...> Dist-CheckConflicts-0.11-old-Test::More.patch | 20 ++++++++++----------
perl-Dist-CheckConflicts.spec | 16 +++++++++++++---
sources | 2 +-
3 files changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/Dist-CheckConflicts-0.10-old-Test::More.patch b/Dist-CheckConflicts-0.11-old-Test::More.patch
similarity index 88%
rename from Dist-CheckConflicts-0.10-old-Test::More.patch
rename to Dist-CheckConflicts-0.11-old-Test::More.patch
index f8da3e1..2105170 100644
--- a/Dist-CheckConflicts-0.10-old-Test::More.patch
+++ b/Dist-CheckConflicts-0.11-old-Test::More.patch
@@ -5,7 +5,7 @@
use strict;
use warnings;
-use Test::More;
-+use Test::More tests => 4;
++use Test::More tests => 2;
use Test::Fatal;
use lib 't/lib/also';
@@ -21,7 +21,7 @@
use strict;
use warnings;
-use Test::More;
-+use Test::More tests => 6;
++use Test::More tests => 4;
use lib 't/lib/basic';
{
@@ -37,7 +37,7 @@
use warnings;
-use Test::More;
-+use Test::More tests => 17;
++use Test::More tests => 12;
use Test::Fatal;
use lib 't/lib/conflicts';
@@ -53,7 +53,7 @@
use strict;
use warnings;
-use Test::More;
-+use Test::More tests => 16;
++use Test::More tests => 12;
use Test::Fatal;
use lib 't/lib/dist';
@@ -69,7 +69,7 @@
use strict;
use warnings;
-use Test::More;
-+use Test::More tests => 2;
++use Test::More tests => 1;
use lib 't/lib/merge';
{
@@ -85,11 +85,11 @@
use strict;
use warnings;
-use Test::More;
-+use Test::More tests => 9;
++use Test::More tests => 7;
use lib 't/lib/runtime';
- sub use_ok_warnings {
-@@ -44,4 +44,3 @@ is(scalar(grep { ref($_) eq 'ARRAY' && @
+ use Module::Runtime 'require_module';
+@@ -46,4 +46,3 @@ is(scalar(grep { ref($_) eq 'ARRAY' && @
1,
"only installed one \@INC hook");
@@ -101,7 +101,7 @@
use strict;
use warnings;
-use Test::More;
-+use Test::More tests => 2;
++use Test::More tests => 1;
use lib 't/lib/warn';
{
@@ -114,7 +114,7 @@
+++ xt/release/no-tabs.t
@@ -3,7 +3,7 @@ use warnings;
- # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.05
+ # this test was generated with Dist::Zilla::Plugin::NoTabsTests 0.06
-use Test::More 0.88;
+use Test::More tests => 1;
diff --git a/perl-Dist-CheckConflicts.spec b/perl-Dist-CheckConflicts.spec
index 640e8d1..24630eb 100644
--- a/perl-Dist-CheckConflicts.spec
+++ b/perl-Dist-CheckConflicts.spec
@@ -2,14 +2,14 @@
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
Name: perl-Dist-CheckConflicts
-Version: 0.10
+Version: 0.11
Release: 1%{?dist}
Summary: Declare version conflicts for your dist
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Dist-CheckConflicts/
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-%{ver...
-Patch0: Dist-CheckConflicts-0.10-old-Test::More.patch
+Patch0: Dist-CheckConflicts-0.11-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
@@ -18,7 +18,6 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
-BuildRequires: perl(List::MoreUtils) >= 0.12
BuildRequires: perl(Module::Runtime) >= 0.009
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@@ -30,11 +29,13 @@ BuildRequires: perl(lib)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.47
# Extra Tests
+%if 0%{?fedora}
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
+%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -76,7 +77,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%check
make test
+%if 0%{?fedora}
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
+%endif
%clean
rm -rf %{buildroot}
@@ -87,6 +90,13 @@ rm -rf %{buildroot}
%{_mandir}/man3/Dist::CheckConflicts.3pm*
%changelog
+* Thu Apr 3 2014 Paul Howarth <paul(a)city-fan.org> - 0.11-1
+- Update to 0.11
+ - Drop the dep on List::MoreUtils
+ (https://github.com/doy/dist-checkconflicts/pull/8)
+- Update patch for building with Test::More < 0.88
+- Don't try to run the extra tests for EPEL builds
+
* Wed Dec 18 2013 Paul Howarth <paul(a)city-fan.org> - 0.10-1
- Update to 0.10
- We need Module::Runtime 0.009 for module_notional_filename (#6)
diff --git a/sources b/sources
index 3e056a5..d376d6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-421fd89a8f888d2a3411754da1c384a8 Dist-CheckConflicts-0.10.tar.gz
+c8725a92b9169708b0f63036812070f2 Dist-CheckConflicts-0.11.tar.gz
10 years, 1 month
[Bug 1084058] New: perl-MooseX-Types-DateTime-MoreCoercions-0.11-2.fc21 FTBFS
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1084058
Bug ID: 1084058
Summary: perl-MooseX-Types-DateTime-MoreCoercions-0.11-2.fc21
FTBFS
Product: Fedora
Version: rawhide
Component: perl-MooseX-Types-DateTime-MoreCoercions
Assignee: ppisar(a)redhat.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com
perl-MooseX-Types-DateTime-MoreCoercions-0.11-2.fc21 fails to build in F21:
Provádění(%build): /bin/sh -e /var/tmp/rpm-tmp.miIpx2
+ umask 022
+ cd /builddir/build/BUILD
+ cd MooseX-Types-DateTime-MoreCoercions-0.11
+ perl Makefile.PL INSTALLDIRS=vendor
include
/builddir/build/BUILD/MooseX-Types-DateTime-MoreCoercions-0.11/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
[Core Features]
- Test::use::ok ...loaded. (0.11 >= 0.02)
- Test::Exception ...loaded. (0.32 >= 0.27)
- Test::More ...loaded. (1.001003)
- Moose ...loaded. (2.1005 >= 0.41)
- MooseX::Types ...loaded. (0.35 >= 0.04)
- namespace::clean ...loaded. (0.25 >= 0.08)
- Time::Duration::Parse ...loaded. (0.11 >= 0.06)
- MooseX::Types::Moose ...loaded. (0.35 >= 0.04)
- MooseX::Types::DateTime ...loaded. (0.08 >= 0.07)
- DateTime ...loaded. (1.08 >= 0.4302)
- DateTime::Duration ...loaded. (1.08 >= 0.4302)
- DateTimeX::Easy ...loaded. (0.089 >= 0.085)
*** Module::AutoInstall configuration finished.
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for MooseX::Types::DateTime::MoreCoercions
Writing MYMETA.yml and MYMETA.json
Error reading from file 'META.yml': utf8 "\xE5" does not map to Unicode
at /usr/share/perl5/vendor_perl/Module/Install/Admin/Metadata.pm line 14.
The META.yml file is not in Unicode and unbundled modules in F21 are stricter
and bail out.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=WvI6OXYlrB&a=cc_unsubscribe
10 years, 1 month
[perl-MooseX-Types-DateTime-MoreCoercions] Teach rpmlint
by Petr Pisar
commit 4a33bf8200b6dc663de109cf2322a1eaec3c850d
Author: Petr Písař <ppisar(a)redhat.com>
Date: Thu Apr 3 16:15:03 2014 +0200
Teach rpmlint
.rpmlint | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..0236504
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* coercions");
10 years, 1 month
[perl-MooseX-Types-DateTime-MoreCoercions] Remove pregeneratd META.yml with non-UTF-8 encoding
by Petr Pisar
commit 08ac4076a11b22485742e711f8f7f466a6318cdd
Author: Petr Písař <ppisar(a)redhat.com>
Date: Thu Apr 3 16:13:42 2014 +0200
Remove pregeneratd META.yml with non-UTF-8 encoding
perl-MooseX-Types-DateTime-MoreCoercions.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-MooseX-Types-DateTime-MoreCoercions.spec b/perl-MooseX-Types-DateTime-MoreCoercions.spec
index 3fc1c87..05d7c66 100644
--- a/perl-MooseX-Types-DateTime-MoreCoercions.spec
+++ b/perl-MooseX-Types-DateTime-MoreCoercions.spec
@@ -1,6 +1,6 @@
Name: perl-MooseX-Types-DateTime-MoreCoercions
Version: 0.11
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Extensions to MooseX::Types::DateTime
License: GPL+ or Artistic
Group: Development/Libraries
@@ -37,6 +37,8 @@ and constraints are inherited.
# Remove bundled modules
rm -rf inc/*
sed -i -e '/^inc\//d' MANIFEST
+# Remove pregeneratd META.yml with non-UTF-8 encoding, bug #1084058
+rm META.yml
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -56,6 +58,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Thu Apr 03 2014 Petr Pisar <ppisar(a)redhat.com> - 0.11-3
+- Remove pregeneratd META.yml with non-UTF-8 encoding (bug #1084058)
+
* Thu Aug 08 2013 Petr Pisar <ppisar(a)redhat.com> - 0.11-2
- Perl 5.18 rebuild
10 years, 1 month