[perl-Devel-BeginLift] initial import (rhbz#830571)
Iain Arnell
iarnell at fedoraproject.org
Fri Jun 15 13:32:41 UTC 2012
commit 3f873c95a32a182ec9e7aaf561b87fdac02392fc
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Jun 15 07:32:35 2012 -0600
initial import (rhbz#830571)
.gitignore | 1 +
perl-Devel-BeginLift.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3ac4c85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Devel-BeginLift-0.001003.tar.gz
diff --git a/perl-Devel-BeginLift.spec b/perl-Devel-BeginLift.spec
new file mode 100644
index 0000000..83cc927
--- /dev/null
+++ b/perl-Devel-BeginLift.spec
@@ -0,0 +1,49 @@
+Name: perl-Devel-BeginLift
+Version: 0.001003
+Release: 1%{?dist}
+Summary: Make selected sub calls evaluate at compile time
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Devel-BeginLift/
+Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Devel-BeginLift-%{version}.tar.gz
+BuildRequires: perl(B::Hooks::OP::Check::EntersubForCV) >= 0.03
+BuildRequires: perl(ExtUtils::Depends)
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(vars)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Devel::BeginLift 'lifts' arbitrary sub calls to running at compile time -
+sort of a souped up version of "use constant". It does this via some
+slightly insane perlguts magic.
+
+%prep
+%setup -q -n Devel-BeginLift-%{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.001003-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..008071c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+73aee2339c9fbe090ba47736a4e0f808 Devel-BeginLift-0.001003.tar.gz
More information about the scm-commits
mailing list