[perl-Test-TinyMocker] initial import (rhbz#806641)

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

 



commit 25a3e91ed0c8bf9c1b678a7628e5d501541e48c3
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Thu Mar 29 05:05:07 2012 -0600

    initial import (rhbz#806641)

 .gitignore                |    1 +
 perl-Test-TinyMocker.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5151ca9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-TinyMocker-0.03.tar.gz
diff --git a/perl-Test-TinyMocker.spec b/perl-Test-TinyMocker.spec
new file mode 100644
index 0000000..505bad9
--- /dev/null
+++ b/perl-Test-TinyMocker.spec
@@ -0,0 +1,55 @@
+Name:           perl-Test-TinyMocker
+Version:        0.03
+Release:        2%{?dist}
+Summary:        A very simple tool to mock external modules
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-TinyMocker/
+Source0:        http://www.cpan.org/authors/id/S/SU/SUKRIA/Test-TinyMocker-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(base)  
+BuildRequires:  perl(Carp)  
+BuildRequires:  perl(Exporter)  
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Pod::Coverage)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module allows you to override methods with arbitrary code blocks. This lets
+you simulate some kind of behavior for your tests.
+
+%prep
+%setup -q -n Test-TinyMocker-%{version}
+
+%build
+%{__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
+make test
+
+%files
+%doc AUTHORS Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Mar 28 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.03-2
+- remove explicit Test::More dependency
+- remove ignore.txt from docs
+
+* Sat Feb 11 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.03-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..5deb87c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7d0e19e423498dab68499252f313c2ae  Test-TinyMocker-0.03.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