[perl-Directory-Scratch/f21] 0.15 bump
Petr Pisar
ppisar at fedoraproject.org
Fri Dec 5 13:47:31 UTC 2014
commit d71532c42b910f9734eeaa78ac7858b964575930
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Dec 5 14:44:10 2014 +0100
0.15 bump
.gitignore | 1 +
perl-Directory-Scratch.spec | 61 ++++++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 39 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 624aaca..d348e44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Directory-Scratch-0.14.tar.gz
+/Directory-Scratch-0.15.tar.gz
diff --git a/perl-Directory-Scratch.spec b/perl-Directory-Scratch.spec
index 260aef7..3a37f6a 100644
--- a/perl-Directory-Scratch.spec
+++ b/perl-Directory-Scratch.spec
@@ -1,55 +1,65 @@
Name: perl-Directory-Scratch
-Version: 0.14
-Release: 18%{?dist}
+Version: 0.15
+Release: 1%{?dist}
# see lib/Directory/Scratch.pm (perl)
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Self-cleaning scratch space for tests
-Source: http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/Directory-Scratch-%{version}.tar.gz
+Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Directory-Scratch-%{version}.tar.gz
Url: http://search.cpan.org/dist/Directory-Scratch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
-
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Carp)
-BuildRequires: perl(File::Copy)
-BuildRequires: perl(File::Path)
-BuildRequires: perl(File::Slurp) >= 9999.12
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(File::stat)
-BuildRequires: perl(File::Temp)
-BuildRequires: perl(Path::Class)
-BuildRequires: perl(String::Random)
-BuildRequires: perl(Test::More)
+BuildRequires: perl
+BuildRequires: perl(inc::Module::Install)
+# Module::Install::Authority not yet packaged
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: perl(strict)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(File::Copy)
+BuildRequires: perl(File::Slurp) >= 9999.12
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(File::stat)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(overload)
+BuildRequires: perl(Path::Class)
+BuildRequires: perl(String::Random)
+BuildRequires: perl(warnings)
+# Tests:
+BuildRequires: perl(File::Path)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(File::Slurp) >= 9999.12
%{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Slurp\\)$
%description
When writing test suites for modules that operate on files, it's often
inconvenient to correctly create a platform-independent temporary storage
space, manipulate files inside it, then clean it up when the test exits.
-The inconvenience usually results in tests that don’t work everwhere, or
+The inconvenience usually results in tests that don’t work everywhere, or
worse, no tests at all.
This module aims to eliminate that problem by making it easy to do things
right.
-
%prep
%setup -q -n Directory-Scratch-%{version}
-
-#see https://rt.cpan.org/Public/Bug/Display.html?id=83318
-rm -f t/os/mac.t
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
+# Module::Install::Authority not yet packaged
+sed -i -e "/^authority 'JROCKWAY';\$/d" Makefile.PL
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
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
@@ -61,6 +71,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Fri Dec 05 2014 Petr Pisar <ppisar at redhat.com> - 0.15-1
+- 0.15 bump
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index d10513e..e061ec2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3e759c3a5ff8c678725aad99e80a5c14 Directory-Scratch-0.14.tar.gz
+8d4ad115e1f2b3bfabb59267b8fec0fb Directory-Scratch-0.15.tar.gz
More information about the scm-commits
mailing list