[perl-MooseX-Types-Path-Tiny] Initial import (perl-MooseX-Types-Path-Tiny-0.010-2)

Paul Howarth pghmcfc at fedoraproject.org
Mon Mar 31 12:01:33 UTC 2014


commit e7f84d42745da37e22e25bffe0ffe444deba4066
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Mar 31 13:01:01 2014 +0100

    Initial import (perl-MooseX-Types-Path-Tiny-0.010-2)
    
    This module provides Path::Tiny types for Moose. It handles two important
    types of coercion:
    
     * Coercing objects with overloaded stringification
    
     * Coercing to absolute paths
    
    It also can check to ensure that files or directories exist.

 .gitignore                       |    1 +
 perl-MooseX-Types-Path-Tiny.spec |   71 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c27a801 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooseX-Types-Path-Tiny-[0-9.]*.tar.gz
diff --git a/perl-MooseX-Types-Path-Tiny.spec b/perl-MooseX-Types-Path-Tiny.spec
new file mode 100644
index 0000000..faca904
--- /dev/null
+++ b/perl-MooseX-Types-Path-Tiny.spec
@@ -0,0 +1,71 @@
+Name:		perl-MooseX-Types-Path-Tiny
+Summary:	Path::Tiny types and coercions for Moose
+Version:	0.010
+Release:	2%{?dist}
+License:	ASL 2.0
+URL:		http://search.cpan.org/dist/MooseX-Types-Path-Tiny/
+Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Types-Path-Tiny-%{version}.tar.gz
+BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
+BuildRequires:	perl(Module::Build::Tiny) >= 0.034
+# Module Runtime
+BuildRequires:	perl(if)
+BuildRequires:	perl(Moose) >= 2
+BuildRequires:	perl(MooseX::Types)
+BuildRequires:	perl(MooseX::Types::Moose)
+BuildRequires:	perl(MooseX::Types::Stringlike)
+BuildRequires:	perl(Path::Tiny)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+# Test Suite
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(File::Spec::Functions)
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(File::pushd)
+BuildRequires:	perl(List::Util)
+BuildRequires:	perl(Moose::Conflicts)
+BuildRequires:	perl(Test::Fatal)
+BuildRequires:	perl(Test::More) >= 0.96
+BuildRequires:	perl(version)
+# Optional Test Requirements
+BuildRequires:	perl(CPAN::Meta)
+BuildRequires:	perl(CPAN::Meta::Requirements) >= 2.120900
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This module provides Path::Tiny types for Moose. It handles two important
+types of coercion:
+
+ * Coercing objects with overloaded stringification
+
+ * Coercing to absolute paths
+
+It also can check to ensure that files or directories exist.
+
+%prep
+%setup -q -n MooseX-Types-Path-Tiny-%{version}
+
+%build
+perl Build.PL --installdirs=vendor
+./Build
+
+%install
+./Build install --destdir=%{buildroot} --create_packlist=0
+
+%check
+./Build test
+
+%files
+%doc Changes CONTRIBUTING LICENSE README README.md
+%{perl_vendorlib}/MooseX/
+%{_mandir}/man3/MooseX::Types::Path::Tiny.3*
+
+%changelog
+* Sat Mar 29 2014 Paul Howarth <paul at city-fan.org> - 0.010-2
+- Incorporate feedback from package review (#1081966)
+  - BR: perl(Moose::Conflicts) for test suite
+
+* Thu Mar 27 2014 Paul Howarth <paul at city-fan.org> - 0.010-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..dbbbee6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dadcd3dd3ea8cc1ac594382b6f5c0fca  MooseX-Types-Path-Tiny-0.010.tar.gz



More information about the perl-devel mailing list