[perl-Git-CPAN-Patch] 2.0.3 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 0c74c60b8bdda4905071cf8606572ea0e83e4958
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Tue Dec 16 13:19:42 2014 +0100

    2.0.3 bump

 .gitignore               |    1 +
 perl-Git-CPAN-Patch.spec |   88 ++++++++++++++++++++++++++++------------------
 sources                  |    2 +-
 3 files changed, 56 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 904c994..47751d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Git-CPAN-Patch-0.2.1.tar.gz
 /Git-CPAN-Patch-0.4.6.tar.gz
 /Git-CPAN-Patch-0.7.0.tar.gz
 /Git-CPAN-Patch-0.8.0.tar.gz
+/Git-CPAN-Patch-2.0.3.tar.gz
diff --git a/perl-Git-CPAN-Patch.spec b/perl-Git-CPAN-Patch.spec
index 7d03031..a773e5f 100644
--- a/perl-Git-CPAN-Patch.spec
+++ b/perl-Git-CPAN-Patch.spec
@@ -1,52 +1,70 @@
 Name:           perl-Git-CPAN-Patch
 Summary:        Patch CPAN modules using Git
-Version:        0.8.0
+Version:        2.0.3
 Release:        8%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Git-CPAN-Patch-%{version}.tar.gz
-# Do not test MooseX::App::Cmd::Command without Moose, bug #1089247
-Patch0:         Git-CPAN-Patch-0.8.0-Do-not-test-MooseX-App-Cmd-Command-without-Moose.patch
 URL:            http://search.cpan.org/dist/Git-CPAN-Patch/
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
-
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(Git::Repository::Plugin::AUTOLOAD)
+BuildRequires:  perl(Module::Build) >= 0.3601
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Archive::Any)
 BuildRequires:  perl(Archive::Extract)
+BuildRequires:  perl(autodie)
 BuildRequires:  perl(BackPAN::Index)
-BuildRequires:  perl(Carp)
 BuildRequires:  perl(CLASS)
+BuildRequires:  perl(CPAN::Meta)
+BuildRequires:  perl(CPAN::ParseDistribution)
 BuildRequires:  perl(CPANPLUS)
 BuildRequires:  perl(Cwd)
-BuildRequires:  perl(DateTime::Format::W3CDTF)
+BuildRequires:  perl(DateTime)
+BuildRequires:  perl(experimental)
 BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::chdir)
+BuildRequires:  perl(File::chmod)
+BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Path)
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(File::chdir)
-BuildRequires:  perl(File::chmod)
-BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(Git::Repository)
-BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(List::Pairwise)
+# BuildRequires:  perl(LWP::Simple)
+# BuildRequires:  perl(LWP::UserAgent)
 BuildRequires:  perl(MetaCPAN::API)
-BuildRequires:  perl(Method::Signatures)
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Method::Signatures::Simple) >= 1.07
 BuildRequires:  perl(Moose)
-BuildRequires:  perl(MooseX::App::Cmd)
-BuildRequires:  perl(MooseX::App::Cmd::Command)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(MooseX::App)
+BuildRequires:  perl(MooseX::App::Command)
+BuildRequires:  perl(MooseX::App::Role)
+BuildRequires:  perl(MooseX::Role::Tempdir)
 BuildRequires:  perl(MooseX::SemiAffordanceAccessor)
-BuildRequires:  perl(Pod::Usage)
-BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(Test::Compile)
+BuildRequires:  perl(Path::Class)
+# BuildRequires:  perl(Pod::Usage)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(autodie)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(version)
-BuildRequires:  perl(warnings)
-
-Requires:       git-cpan-patch = %{version}-%{release}
-Requires:       perl(MooseX::App::Cmd)
-Requires:       perl(MooseX::App::Cmd::Command)
+# Tests only
+BuildRequires:  git
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IPC::Open3)
+BuildRequires:  perl(Test::MockObject)
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "(perl -V:version)"; echo $version))
+Requires:       git
+Requires:       perl(CPAN::Meta)
+Requires:       perl(CPAN::ParseDistribution)
+Requires:       perl(File::Copy)
+Requires:       perl(LWP::Simple)
+Requires:       perl(LWP::Protocol::ftp)
+Requires:       perl(LWP::Protocol::http)
+Requires:       perl(LWP::UserAgent)
 
 %{?perl_default_filter}
 
@@ -64,7 +82,6 @@ Summary:        Patch CPAN modules using Git
 License:        GPL+ or Artistic
 Group:          Development/Tools
 Requires:       perl-Git-CPAN-Patch = %{version}-%{release}
-
 Requires:       git, git-email
 
 %description -n git-cpan-patch
@@ -73,38 +90,41 @@ easy the process of grabbing any distribution off CPAN, stuffing it in a
 local git repository and, once gleeful hacking has been perpetrated,
 sending back patches to its maintainer.
 
-
 %prep
 %setup -q -n Git-CPAN-Patch-%{version}
-%patch0 -p1
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
 ./Build install destdir=%{buildroot} create_packlist=0
-
 %{_fixperms} %{buildroot}/*
-
 # upstream now installs to /usr/bin; we still prefer /usr/libexec/git-core
 install -d -m 0755 %{buildroot}%{_libexecdir}/git-core
 mv %{buildroot}/%{_bindir}/* %{buildroot}%{_libexecdir}/git-core/
 
 %check
+git config --global user.email "perl-Git-CPAN-Patch-owner@xxxxxxxxxxxxxxxxx"
+git config --global user.name "Git-CPAN-Patch Owner"
 ./Build test
 
 %files
-%doc AUTHOR_PLEDGE Changes LICENSE README
+%license LICENSE
+%doc AUTHOR_PLEDGE Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %files -n git-cpan-patch
-%doc AUTHOR_PLEDGE Changes LICENSE README
+%license LICENSE
+%doc AUTHOR_PLEDGE Changes README
 %{_libexecdir}/*
 %{_mandir}/man1/*
 
 %changelog
+* Tue Dec 16 2014 Petr Šabata <contyk@xxxxxxxxxx> - 2.0.3-8
+- 2.0.3 bump
+
 * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.8.0-8
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 1abe16b..7a0a66d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fb958b5c3738cdbbaee22ac55dc68a9d  Git-CPAN-Patch-0.8.0.tar.gz
+38fd1c6a78c0e3f090ddd90b9d374e48  Git-CPAN-Patch-2.0.3.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux