[perl-Devel-Pragma] initial import (rhbz#830575)

Iain Arnell iarnell at fedoraproject.org
Fri Jun 15 13:34:18 UTC 2012


commit 530e3e143551d6cba1062b5caad842c6741eca03
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Jun 15 07:34:16 2012 -0600

    initial import (rhbz#830575)

 .gitignore             |    1 +
 perl-Devel-Pragma.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6c5ffc1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Devel-Pragma-0.54.tar.gz
diff --git a/perl-Devel-Pragma.spec b/perl-Devel-Pragma.spec
new file mode 100644
index 0000000..20217ad
--- /dev/null
+++ b/perl-Devel-Pragma.spec
@@ -0,0 +1,54 @@
+Name:           perl-Devel-Pragma
+Version:        0.54
+Release:        1%{?dist}
+Summary:        Helper functions for developers of lexical pragmas
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Devel-Pragma/
+Source0:        http://www.cpan.org/authors/id/C/CH/CHOCOLATE/Devel-Pragma-%{version}.tar.gz
+BuildRequires:  perl(B::Hooks::EndOfScope) >= 0.09
+BuildRequires:  perl(B::Hooks::OP::Annotation) >= 0.43
+BuildRequires:  perl(B::Hooks::OP::Check) >= 0.18
+BuildRequires:  perl(ExtUtils::Depends) >= 0.302
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(vars)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module provides helper functions for developers of lexical pragmas.
+These can be used both in older versions of perl (from 5.8.1), which have
+limited support for lexical pragmas, and in the most recent versions, which
+have improved support.
+
+%prep
+%setup -q -n Devel-Pragma-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --skipdeps
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Devel*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Jun 10 2012 Iain Arnell <iarnell at gmail.com> 0.54-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..f4e75f4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6f68dd87e2433f8640dea58be3e3e97d  Devel-Pragma-0.54.tar.gz


More information about the scm-commits mailing list