From 7761831cd77bcabedf27962dd7839596eba7dd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Tue, 15 Sep 2015 10:53:56 +0200 Subject: 0.004008 bump
- Modernize the spec diff --git a/.gitignore b/.gitignore index ae0758d..e1da487 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ Contextual-Return-v0.2.1.tar.gz /Contextual-Return-0.004003.tar.gz /Contextual-Return-0.004005.tar.gz /Contextual-Return-0.004007.tar.gz +/Contextual-Return-0.004008.tar.gz diff --git a/perl-Contextual-Return.spec b/perl-Contextual-Return.spec index 97b7263..c042c92 100644 --- a/perl-Contextual-Return.spec +++ b/perl-Contextual-Return.spec @@ -1,57 +1,60 @@ Name: perl-Contextual-Return -Version: 0.004007 -Release: 8%{?dist} +Version: 0.004008 +Release: 1%{?dist} Summary: Create context-sensitive return values -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Contextual-Return Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Contextual-Return-%{version}.tar.gz -BuildArch: noarch -BuildRequires: perl(Data::Dumper) +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(version) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Want) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} +# Tests only +BuildRequires: perl(Test::More) +# Optional tests only +BuildRequires: perl(Test::Pod) >= 1.14 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Data::Dumper) +%global __provides_exclude ^perl\\(DB\\)$ %description This module allows you to define return values of a perl sub that are appropriate given the calling context. - %prep %setup -q -n Contextual-Return-%{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 {} ';' -find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null %{_fixperms} %{buildroot} - %check make test - %files %doc Changes README -%{perl_vendorlib}/Contextual/ -%{_mandir}/man3/Contextual::Return.3pm* -%{_mandir}/man3/Contextual::Return::Failure.3pm* - +%{perl_vendorlib}/* +%{_mandir}/man3/* %changelog +* Tue Sep 15 2015 Petr Ĺ abata <con...@redhat.com> - 0.004008-1 +- 0.004008 bump +- Modernize the spec + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.004007-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 0008e30..5b3dfd6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2a9fa91aa8d9ea13a885f3b0afdbb9d9 Contextual-Return-0.004007.tar.gz +3ab94fdc88dd06b1be61ebf5a905912f Contextual-Return-0.004008.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Contextual-Return.git/commit/?h=f22&id=7761831cd77bcabedf27962dd7839596eba7dd9d -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel