[perl-Any-Moose] 0.26 bump
by Petr Sabata
commit 6895d2a039557fd01465ed3a1a2b2419d94b6738
Author: Petr Šabata <contyk(a)redhat.com>
Date: Mon Feb 2 14:03:43 2015 +0100
0.26 bump
.gitignore | 1 +
perl-Any-Moose.spec | 15 +++++++++------
sources | 2 +-
3 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8979867..d7e5003 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ Any-Moose-0.13.tar.gz
/Any-Moose-0.20.tar.gz
/Any-Moose-0.21.tar.gz
/Any-Moose-0.24.tar.gz
+/Any-Moose-0.26.tar.gz
diff --git a/perl-Any-Moose.spec b/perl-Any-Moose.spec
index 4757b8a..bf0cf98 100644
--- a/perl-Any-Moose.spec
+++ b/perl-Any-Moose.spec
@@ -1,6 +1,6 @@
Name: perl-Any-Moose
Summary: Use Moose or Mouse automagically (DEPRECATED)
-Version: 0.24
+Version: 0.26
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
@@ -16,10 +16,10 @@ BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
# Tests only
-BuildRequires: perl(File::Spec::Functions)
+BuildRequires: perl(File::Spec)
BuildRequires: perl(List::Util)
BuildRequires: perl(Mouse) >= 0.40
-BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(version)
%if !0%{?perl_bootstrap}
BuildRequires: perl(MooseX::Types)
@@ -46,23 +46,26 @@ loaded, otherwise we go with Moose.
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
%build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
%check
make test
%files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Mon Feb 02 2015 Petr Šabata <contyk(a)redhat.com> - 0.26-1
+- 0.26 bump
+
* Fri Nov 07 2014 Petr Šabata <contyk(a)redhat.com> - 0.24-1
- 0.24 bump
diff --git a/sources b/sources
index 67902eb..e2294ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a1809dc6d60130e94aa718f462048ea1 Any-Moose-0.24.tar.gz
+f36ed5cc95497e1d4f4f617cc1cce03b Any-Moose-0.26.tar.gz
9 years, 3 months
[perl-Module-Starter] 1.71 bump
by Petr Pisar
commit 4231fd32a93d3ce1563a286f3725c5b363b28e62
Author: Petr Písař <ppisar(a)redhat.com>
Date: Mon Feb 2 13:56:36 2015 +0100
1.71 bump
.gitignore | 1 +
...tware-License-s-identifiers-for-LGPL-lice.patch | 61 --------------------
...ter-1.71-doc-Default-license-is-artistic2.patch | 6 +-
perl-Module-Starter.spec | 14 ++--
sources | 2 +-
5 files changed, 12 insertions(+), 72 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4aeb016..3c5aa95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Module-Starter-1.54.tar.gz
/Module-Starter-1.58.tar.gz
/Module-Starter-1.60.tar.gz
/Module-Starter-1.62.tar.gz
+/Module-Starter-1.71.tar.gz
diff --git a/Module-Starter-1.62-doc-Default-license-is-artistic2.patch b/Module-Starter-1.71-doc-Default-license-is-artistic2.patch
similarity index 90%
rename from Module-Starter-1.62-doc-Default-license-is-artistic2.patch
rename to Module-Starter-1.71-doc-Default-license-is-artistic2.patch
index 8940433..7b2fda1 100644
--- a/Module-Starter-1.62-doc-Default-license-is-artistic2.patch
+++ b/Module-Starter-1.71-doc-Default-license-is-artistic2.patch
@@ -1,4 +1,4 @@
-From cdd8c8dab049210af88b2d122cf48dd3bd210a98 Mon Sep 17 00:00:00 2001
+From d96d01239037a6138af19c05504ce5dd87cff638 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Tue, 14 Oct 2014 13:33:48 +0200
Subject: [PATCH] doc: Default license is 'artistic2'
@@ -15,7 +15,7 @@ Signed-off-by: Petr Písař <ppisar(a)redhat.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Module/Starter.pm b/lib/Module/Starter.pm
-index 5d87ad6..39eca2e 100644
+index 7a88c11..0d770b4 100644
--- a/lib/Module/Starter.pm
+++ b/lib/Module/Starter.pm
@@ -53,7 +53,7 @@ It takes a hash of params, as follows:
@@ -26,7 +26,7 @@ index 5d87ad6..39eca2e 100644
+ license => $license, # type of license; defaults to 'artistic2'
author => $author, # author's full name (taken from C<getpwuid> if not provided)
email => $email, # author's email address (taken from C<EMAIL> if not provided)
- ignores_type => $type, # ignores file type ('generic', 'cvs', 'git', 'manifest' )
+ ignores_type => $type, # ignores file type ('generic', 'cvs', 'git', 'hg', 'manifest' )
--
1.9.3
diff --git a/perl-Module-Starter.spec b/perl-Module-Starter.spec
index 3ebc9b3..236e3ac 100644
--- a/perl-Module-Starter.spec
+++ b/perl-Module-Starter.spec
@@ -1,18 +1,15 @@
Name: perl-Module-Starter
Epoch: 1
-Version: 1.62
-Release: 5%{?dist}
+Version: 1.71
+Release: 1%{?dist}
Summary: A simple starter kit for any module
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Module-Starter
Source0: http://search.cpan.org/CPAN/authors/id/X/XS/XSAWYERX/Module-Starter-%{ver...
-# Produce valid Software::License identifiers, bug #1152319,
-# <https://github.com/xsawyerx/module-starter/pull/21>
-Patch0: Module-Starter-1.62-Correct-Software-License-s-identifiers-for-LGPL-lice.patch
# Document the default license is artistic2, CPAN RT#86557,
# <https://github.com/xsawyerx/module-starter/issues/1>
-Patch1: Module-Starter-1.62-doc-Default-license-is-artistic2.patch
+Patch0: Module-Starter-1.71-doc-Default-license-is-artistic2.patch
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -38,6 +35,7 @@ BuildRequires: perl(Test::More)
# version not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(ExtUtils::Manifest)
+# ??? Requires: perl(Module::Install::AuthorTests)
%{?perl_default_filter}
# Filter in-lined Perl code from lib/Module/Starter/Simple.pm
@@ -58,7 +56,6 @@ perl-Module-Starter-PBP for the aforementioned templates.)
%prep
%setup -q -n Module-Starter-%{version}
%patch0 -p1
-%patch1 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -80,6 +77,9 @@ make test
%changelog
+* Mon Feb 02 2015 Petr Pisar <ppisar(a)redhat.com> - 1:1.71-1
+- 1.71 bump
+
* Wed Oct 15 2014 Petr Pisar <ppisar(a)redhat.com> - 1:1.62-5
- Revert the previous license identifiers patches which broke
Software::License
diff --git a/sources b/sources
index 070121a..6b128c2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8c8d867a36f22d0cffb9e0f9e5f635f2 Module-Starter-1.62.tar.gz
+f6a5352268c48d5a247fa97ad2b5d293 Module-Starter-1.71.tar.gz
9 years, 3 months
[Bug 1152319] New: perl-Module-Starter should depend on perl-Software-License
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1152319
Bug ID: 1152319
Summary: perl-Module-Starter should depend on
perl-Software-License
Product: Fedora
Version: 20
Component: perl-Module-Starter
Severity: low
Assignee: ppisar(a)redhat.com
Reporter: rp(a)guests.deus.net
QA Contact: extras-qa(a)fedoraproject.org
CC: mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com
Description of problem:
When used with some fairly simple settings, derived from the examples given in
the documentation, the module-starter tool from perl-Module-Starter produces
code which doesn't work correctly without the Software::License module as found
in perl-Software-License. Worse, it gives misleading error messages and it's
not clear which package the problem is in without tracing through code. So I
think it would be sensible to have perl-Module-Starter require
perl-Software-License, even though it isn't strictly necessary for it to
function.
Version-Release number of selected component (if applicable):
perl-Module-Starter-1.62-1.fc20.noarch
Steps to Reproduce:
With perl-Software-License not installed (and the Software::License module not
available on the system through any other means):
1. module-starter --module=My::Module --builder=Module::Build
--email=example(a)example.com
2. cd My-Module
3. perl Build.PL
Actual results:
Could not get valid metadata. Error is: Invalid metadata structure. Errors:
License 'Artistic_2_0' is invalid (license) [Validation: 1.4]
at /usr/share/perl5/vendor_perl/Module/Build/Base.pm line 4589
Expected results:
No error message, clean build.
Additional info:
http://www.perlmonks.org/?node_id=1006882 shows a user encountering this
problem and not being able to trace it - the suggested fix there is to install
Software::License.
The configuration included in perl-Module-Starter-PBP makes this problem even
easier to encounter, because it makes --builder=Module::Build the default.
--
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=RE5cu9Be6X&a=cc_unsubscribe
9 years, 3 months
[perl-Ouch] 0.0409 bump
by Petr Sabata
commit 2505f12d2d6b7e27eab0de88930937ec1b4b99a2
Author: Petr Šabata <contyk(a)redhat.com>
Date: Mon Feb 2 13:22:03 2015 +0100
0.0409 bump
.gitignore | 1 +
perl-Ouch.spec | 24 +++++++++++++++---------
sources | 2 +-
3 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 254b181..55fc6c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/Ouch-0.0405.tar.gz
/Ouch-0.0406.tar.gz
/Ouch-0.0408.tar.gz
+/Ouch-0.0409.tar.gz
diff --git a/perl-Ouch.spec b/perl-Ouch.spec
index b070c4c..469efa9 100644
--- a/perl-Ouch.spec
+++ b/perl-Ouch.spec
@@ -1,24 +1,27 @@
Name: perl-Ouch
-Version: 0.0408
-Release: 3%{?dist}
+Version: 0.0409
+Release: 1%{?dist}
Summary: Exceptions that don't hurt
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Ouch/
Source0: http://www.cpan.org/authors/id/R/RI/RIZEN/Ouch-%{version}.tar.gz
BuildArch: noarch
+# Build
BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
-BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(parent)
BuildRequires: perl(Scalar::Util)
-BuildRequires: perl(strict)
+# Tests only
+BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Trap)
-BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
@@ -32,23 +35,26 @@ gives you much of that same functionality, then Ouch is for you.
%setup -q -n Ouch-%{version}
%build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
make test
%files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Feb 02 2015 Petr Šabata <contyk(a)redhat.com> - 0.0409-1
+- 0.0409 bump
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.0408-3
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 74cae67..8195c82 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f3cd70271ba8f7598569bc04097b7881 Ouch-0.0408.tar.gz
+7bfb9b0724761d845bba6ba3945f53f2 Ouch-0.0409.tar.gz
9 years, 3 months