[perl-Directory-Scratch/f19] 0.15 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit fd6814bd84b2678c526d42d97dc821cd431037b7
Author: Petr Písař <ppisar@xxxxxxxxxx>
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 d0e2493..39731fb 100644
--- a/perl-Directory-Scratch.spec
+++ b/perl-Directory-Scratch.spec
@@ -1,55 +1,65 @@
 Name:       perl-Directory-Scratch 
-Version:    0.14 
-Release:    15%{?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@xxxxxxxxxx> - 0.15-1
+- 0.15 bump
+
 * Sun Feb 17 2013 Iain Arnell <iarnell@xxxxxxxxx>     0.14 -15
 - clean up spec for modern rpmbuild
 - skip failing t/os/mac.t (rt#83318)
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
--
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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux