commit 7f44e122a5216d1ad16a0c56308dcc566f992afd Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Nov 28 15:21:19 2014 +0100 0.50 bump .gitignore | 1 + perl-Git-PurePerl.spec | 59 +++++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 38 insertions(+), 24 deletions(-) --- diff --git a/.gitignore b/.gitignore index ed00f6a..ab03966 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ Git-PurePerl-0.46.tar.gz /Git-PurePerl-0.47.tar.gz /perl-Git-PurePerl.spec /Git-PurePerl-0.48.tar.gz +/Git-PurePerl-0.50.tar.gz diff --git a/perl-Git-PurePerl.spec b/perl-Git-PurePerl.spec index e7e0401..746c7ab 100644 --- a/perl-Git-PurePerl.spec +++ b/perl-Git-PurePerl.spec @@ -1,58 +1,68 @@ Name: perl-Git-PurePerl -Version: 0.48 -Release: 9%{?dist} +Version: 0.50 +Release: 1%{?dist} Summary: Pure Perl interface to Git repositories License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Git-PurePerl/ Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BROQ/Git-PurePerl-%{version}.tar.gz -# see https://rt.cpan.org/Public/Bug/Display.html?id=86018 -Patch0: Git-PurePerl-rt86018.patch BuildArch: noarch -BuildRequires: perl(Archive::Extract) -BuildRequires: perl(Archive::Tar) +# Build +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(bytes) BuildRequires: perl(Compress::Raw::Zlib) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(Config::GitLike) BuildRequires: perl(Data::Stream::Bulk) +BuildRequires: perl(Data::Stream::Bulk::Array) BuildRequires: perl(DateTime) BuildRequires: perl(Digest::SHA) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Encode) BuildRequires: perl(File::Find::Rule) BuildRequires: perl(IO::Digest) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(IPC::Open2) BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(MooseX::StrictConstructor) BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(namespace::autoclean) -BuildRequires: perl(Test::More) >= 0.88 -BuildRequires: perl(Test::utf8) >= 0.02 +BuildRequires: perl(Path::Class) +# Tests only +BuildRequires: perl(Archive::Extract) +BuildRequires: perl(Archive::Tar) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::utf8) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Config::GitLike) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} %description This module is a Pure Perl interface to Git repositories. %prep %setup -q -n Git-PurePerl-%{version} -%patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -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/* +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* %check -# live tests don't work in koji -%{?!_with_live_tests: rm t/protocol*.t} +%{?!_with_live_tests: rm t/protocol_gpp.t} make test %files @@ -61,6 +71,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Nov 28 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.50-1 +- 0.50 bump + * Tue Sep 02 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.48-9 - Perl 5.20 rebuild diff --git a/sources b/sources index 2f948db..878fed4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -da6f1d0b4b33d1ac7508dbe87c6bf4ad Git-PurePerl-0.48.tar.gz +0df8e25f9b887b537184c115320bf445 Git-PurePerl-0.50.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