commit c2db041585b734e2a5decca2cc322780cbeeb671 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Nov 28 11:24:13 2014 +0100 1.312 bump .gitignore | 1 + Git-Repository-t23-quiet.patch | 14 ----------- perl-Git-Repository.spec | 51 ++++++++++++++++++++++------------------ sources | 2 +- 4 files changed, 30 insertions(+), 38 deletions(-) --- diff --git a/.gitignore b/.gitignore index 595ecb7..d20d0d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Git-Repository-1.25.tar.gz /Git-Repository-1.27.tar.gz +/Git-Repository-1.312.tar.gz diff --git a/perl-Git-Repository.spec b/perl-Git-Repository.spec index 6346aad..e30f06c 100644 --- a/perl-Git-Repository.spec +++ b/perl-Git-Repository.spec @@ -1,30 +1,37 @@ Name: perl-Git-Repository -Version: 1.27 -Release: 6%{?dist} +Version: 1.312 +Release: 1%{?dist} Summary: Perl interface to Git repositories License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Git-Repository/ Source0: http://www.cpan.org/authors/id/B/BO/BOOK/Git-Repository-%{version}.tar.gz -# see https://rt.cpan.org/Ticket/Display.html?id=80321 -Patch0: Git-Repository-t23-quiet.patch BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(Carp) +BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Handle) -BuildRequires: perl(List::Util) -BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) -BuildRequires: perl(System::Command) >= 1.05 +BuildRequires: perl(System::Command) BuildRequires: perl(Test::Builder) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) +# Tests only +BuildRequires: perl(constant) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(lib) +BuildRequires: perl(overload) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: git -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "(perl -V:version)"; echo $version)) Requires: git %description @@ -42,35 +49,33 @@ require the creation and management of a Git repository. %prep %setup -q -n Git-Repository-%{version} -%patch0 -p 1 - -iconv -f iso8859-1 -t utf-8 Changes >Changes.conv \ - && touch -r Changes Changes.conv \ - && mv -f Changes.conv Changes %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_flags} %install -./Build install destdir=%{buildroot} create_packlist=0 -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - +make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check -./Build test +make test %files +%license LICENSE %doc Changes README %{perl_vendorlib}/Git %{_mandir}/man3/* %files -n perl-Test-Git +%license LICENSE %doc Changes README %{perl_vendorlib}/Test %changelog +* Fri Nov 28 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.312-1 +- 1.312 bump + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.27-6 - Perl 5.20 rebuild diff --git a/sources b/sources index 2855c3b..1f06439 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f684330bcc1bb3ea4f080698c0f3a54d Git-Repository-1.27.tar.gz +d259f626250464b29e367b42944c3c8c Git-Repository-1.312.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