[perl-Scope-Upper] 0.26 bump
Petr Šabata
psabata at fedoraproject.org
Fri Mar 20 14:18:41 UTC 2015
commit d3a8761beda6e12ac5005271329d1444b47f1195
Author: Petr Šabata <contyk at redhat.com>
Date: Fri Mar 20 15:18:39 2015 +0100
0.26 bump
.gitignore | 1 +
perl-Scope-Upper.spec | 27 ++++++++++++++-------------
sources | 2 +-
3 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dc2f0b5..29b3d4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ Scope-Upper-0.10.tar.gz
/Scope-Upper-0.22.tar.gz
/Scope-Upper-0.24.tar.gz
/Scope-Upper-0.25.tar.gz
+/Scope-Upper-0.26.tar.gz
diff --git a/perl-Scope-Upper.spec b/perl-Scope-Upper.spec
index 8dd9baa..30a1fd0 100644
--- a/perl-Scope-Upper.spec
+++ b/perl-Scope-Upper.spec
@@ -1,31 +1,30 @@
Name: perl-Scope-Upper
Summary: Act on upper scopes
-Version: 0.25
+Version: 0.26
Release: 1%{?dist}
License: GPL+ or Artistic
-Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/Scope-Upper-%{version}.tar.gz
URL: http://search.cpan.org/dist/Scope-Upper
+# Build
BuildRequires: perl
BuildRequires: perl(Config)
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
-# Run-time:
+# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(XSLoader)
-# Tests:
+# Tests only
BuildRequires: perl(feature)
BuildRequires: perl(lib)
+# It's either Scalar::Util or B; with the former being preferred
+BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
BuildRequires: perl(threads::shared)
-# Optional tests:
-BuildRequires: perl(B)
-BuildRequires: perl(Scalar::Util)
+# Optional tests only
BuildRequires: perl(Time::HiRes)
-Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-Requires: perl(Exporter)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(XSLoader)
%{?perl_default_filter}
@@ -42,13 +41,12 @@ context was in use then.
sed -i '1s,^#!.*perl,#!%{__perl},' samples/*
%build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
@@ -61,6 +59,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Fri Mar 20 2015 Petr Šabata <contyk at redhat.com> - 0.26-1
+- 0.26 bump
+
* Tue Nov 25 2014 Petr Pisar <ppisar at redhat.com> - 0.25-1
- 0.25 bump
diff --git a/sources b/sources
index ab767dc..19f8493 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5bbb92a8a63689e81efed1460ab6a13d Scope-Upper-0.25.tar.gz
+1da9e90c8739eaf92790db7ba342b294 Scope-Upper-0.26.tar.gz
More information about the perl-devel
mailing list