ppisar pushed to perl-MooseX-Meta-TypeConstraint-Mooish (master). "Import"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Apr 9 13:21:35 UTC 2015
>From 4a9bbf8ebfa8123b86a4bef6ff97ddd4804b8392 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 9 Apr 2015 15:20:51 +0200
Subject: Import
diff --git a/.gitignore b/.gitignore
index e69de29..87fe32c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooseX-Meta-TypeConstraint-Mooish-0.001.tar.gz
diff --git a/perl-MooseX-Meta-TypeConstraint-Mooish.spec b/perl-MooseX-Meta-TypeConstraint-Mooish.spec
new file mode 100644
index 0000000..8dfa3b0
--- /dev/null
+++ b/perl-MooseX-Meta-TypeConstraint-Mooish.spec
@@ -0,0 +1,61 @@
+Name: perl-MooseX-Meta-TypeConstraint-Mooish
+Version: 0.001
+Release: 1%{?dist}
+Summary: Translate Moo-style constraints to Moose-style
+License: LGPLv2
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/MooseX-Meta-TypeConstraint-Mooish/
+Source0: http://www.cpan.org/authors/id/R/RS/RSRCHBOY/MooseX-Meta-TypeConstraint-Mooish-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(Moose)
+BuildRequires: perl(Moose::Meta::TypeConstraint)
+BuildRequires: perl(Moose::Role)
+BuildRequires: perl(namespace::autoclean) >= 0.24
+BuildRequires: perl(Try::Tiny)
+# Tests:
+BuildRequires: perl(aliased)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IPC::Open3)
+BuildRequires: perl(Test::CheckDeps) >= 0.010
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::Moose::More) >= 0.028
+BuildRequires: perl(Test::More) >= 0.94
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Moose::Meta::TypeConstraint)
+
+%description
+Moose type constraints are expected to return true if the value passes the
+constraint, and false otherwise; Moo constraints, on the other hand, die
+if validation fails. This meta-class allows for Moo-style constraints. It will
+wrap them and translate their Moo into a dialect Moose understands.
+
+%prep
+%setup -q -n MooseX-Meta-TypeConstraint-Mooish-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Apr 08 2015 Petr Pisar <ppisar at redhat.com> 0.001-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..cc948dd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fc46f143c5245db7adf3fd5453383f90 MooseX-Meta-TypeConstraint-Mooish-0.001.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-MooseX-Meta-TypeConstraint-Mooish.git/commit/?h=master&id=4a9bbf8ebfa8123b86a4bef6ff97ddd4804b8392
More information about the scm-commits
mailing list