[perl-Scope-Upper] 0.25 bump

Petr Pisar ppisar at fedoraproject.org
Tue Nov 25 08:43:41 UTC 2014


commit d9495669d665d76d029ad12595af31eabd97697e
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Nov 25 09:43:14 2014 +0100

    0.25 bump

 .gitignore            |    1 +
 perl-Scope-Upper.spec |   36 ++++++++++++++++++++++--------------
 sources               |    2 +-
 3 files changed, 24 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6e5d128..dc2f0b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ Scope-Upper-0.10.tar.gz
 /Scope-Upper-0.21.tar.gz
 /Scope-Upper-0.22.tar.gz
 /Scope-Upper-0.24.tar.gz
+/Scope-Upper-0.25.tar.gz
diff --git a/perl-Scope-Upper.spec b/perl-Scope-Upper.spec
index c628404..8dd9baa 100644
--- a/perl-Scope-Upper.spec
+++ b/perl-Scope-Upper.spec
@@ -1,23 +1,30 @@
 Name:           perl-Scope-Upper
 Summary:        Act on upper scopes
-Version:        0.24
-Release:        3%{?dist}
+Version:        0.25
+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
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires:  perl(base)
+BuildRequires:  perl
 BuildRequires:  perl(Config)
-BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(lib)
 BuildRequires:  perl(strict)
-BuildRequires:  perl(Test::More)
 BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(XSLoader)
-
+# Tests:
+BuildRequires:  perl(feature)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(threads::shared)
+# Optional tests:
+BuildRequires:  perl(B)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Time::HiRes)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Exporter)
 Requires:       perl(XSLoader)
 
@@ -32,30 +39,31 @@ context was in use then.
 
 %prep
 %setup -q -n Scope-Upper-%{version}
-
-sed -i '1s,^#!.*perl,#!%{__perl},' samples/* t/*.t
+sed -i '1s,^#!.*perl,#!%{__perl},' samples/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 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 {} ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc README Changes samples/ t/
+%doc README Changes samples
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Nov 25 2014 Petr Pisar <ppisar at redhat.com> - 0.25-1
+- 0.25 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.24-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 40681c0..ab767dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e3b80bef3703399870081e08a04b0c79  Scope-Upper-0.24.tar.gz
+5bbb92a8a63689e81efed1460ab6a13d  Scope-Upper-0.25.tar.gz


More information about the scm-commits mailing list