[perl-Test-NoBreakpoints] Import

Petr Pisar ppisar at fedoraproject.org
Tue May 22 14:43:46 UTC 2012


commit c2e432f268fd968148725c083d36ba20845bfa97
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue May 22 16:43:23 2012 +0200

    Import

 .gitignore                   |    1 +
 perl-Test-NoBreakpoints.spec |   52 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3746eee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-NoBreakpoints-0.15.tar.gz
diff --git a/perl-Test-NoBreakpoints.spec b/perl-Test-NoBreakpoints.spec
new file mode 100644
index 0000000..cdf172b
--- /dev/null
+++ b/perl-Test-NoBreakpoints.spec
@@ -0,0 +1,52 @@
+Name:           perl-Test-NoBreakpoints
+Version:        0.15
+Release:        1%{?dist}
+Summary:        Test that files do not contain soft breakpoints
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-NoBreakpoints/
+Source0:        http://www.cpan.org/authors/id/J/JF/JFITZ/Test-NoBreakpoints-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Test::Builder)
+# Tests:
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More) >= 0.92
+BuildRequires:  perl(Test::Tester) >= 0.09
+BuildRequires:  perl(Test::UseAllModules)
+# Optional tests:
+BuildRequires:  perl(Test::NoWarnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Test::NoBreakpoints checks that files contain neither the string
+"$DB::single = 1" nor "$DB::signal = 1". 
+
+%prep
+%setup -q -n Test-NoBreakpoints-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Apr 26 2012 Petr Pisar <ppisar at redhat.com> 0.15-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..f8c24ab 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2146644134903205d509fdb46e6fc8f3  Test-NoBreakpoints-0.15.tar.gz



More information about the perl-devel mailing list