[perl-ExtUtils-TBone] Import

Petr Pisar ppisar at fedoraproject.org
Tue Mar 3 13:56:10 UTC 2015


commit 91d628fe7bf1e4d100fd58fdb8578a30af6e7348
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Mar 3 14:55:59 2015 +0100

    Import

 .gitignore               |  1 +
 perl-ExtUtils-TBone.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |  1 +
 3 files changed, 54 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e5bbf40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ExtUtils-TBone-1.124.tar.gz
diff --git a/perl-ExtUtils-TBone.spec b/perl-ExtUtils-TBone.spec
new file mode 100644
index 0000000..822b6df
--- /dev/null
+++ b/perl-ExtUtils-TBone.spec
@@ -0,0 +1,52 @@
+Name:           perl-ExtUtils-TBone
+Version:        1.124
+Release:        1%{?dist}
+Summary:        Skeleton for writing t/*.t Perl test files
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/ExtUtils-TBone/
+Source0:        http://www.cpan.org/authors/id/E/ER/ERYQ/ExtUtils-TBone-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This module is intended for folks who release CPAN modules with t/*.t
+tests. It makes it easy for you to output syntactically correct test-output
+while at the same time logging all test activity to a log file. Hopefully,
+bug reports which include the contents of this file will be easier for you
+to investigate.
+
+%prep
+%setup -q -n ExtUtils-TBone-%{version}
+# Remove a copy from lib to be sure we test the lib code
+rm t/ExtUtils/TBone.pm
+sed -i -e '/^t\/ExtUtils\/TBone.pm/d' MANIFEST
+
+%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 COPYING
+%doc docs README 
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Mar 02 2015 Petr Pisar <ppisar at redhat.com> 1.124-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..cc9f034 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+81914cadf266f6cd2083bd321c1557cd  ExtUtils-TBone-1.124.tar.gz


More information about the scm-commits mailing list