psabata pushed to perl-Devel-GoFaster (f22). "Initial import (#1257908)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Aug 28 13:21:52 UTC 2015
From 41b4a79871ad9e56ae29b12bb833d6596f17c7ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Fri, 28 Aug 2015 15:10:26 +0200
Subject: Initial import (#1257908)
diff --git a/.gitignore b/.gitignore
index e69de29..13d76a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Devel-GoFaster-0.000.tar.gz
diff --git a/perl-Devel-GoFaster.spec b/perl-Devel-GoFaster.spec
new file mode 100644
index 0000000..7c1567b
--- /dev/null
+++ b/perl-Devel-GoFaster.spec
@@ -0,0 +1,55 @@
+Name: perl-Devel-GoFaster
+Version: 0.000
+Release: 1%{?dist}
+Summary: Optimise executable Perl ops
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Devel-GoFaster/
+Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Devel-GoFaster-%{version}.tar.gz
+# Build
+BuildRequires: perl
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Runtime
+# XXX: BuildRequires: perl(Carp)
+BuildRequires: perl(Lexical::SealRequireHints) >= 0.007
+BuildRequires: perl(XSLoader)
+# Tests only
+BuildRequires: perl(Test::More)
+# Optional tests only
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires: perl(Carp)
+Requires: perl(XSLoader)
+
+%description
+This module implements some optimisations in compiled Perl code, which
+should make it run slightly faster without visibly affecting behaviour. The
+optimisations are applied at the peephole optimisation step, augmenting
+Perl's built-in optimisations.
+
+%prep
+%setup -q -n Devel-GoFaster-%{version}
+
+%build
+perl Build.PL --installdirs=vendor --optimize="%{optflags}"
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Devel*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Aug 28 2015 Petr Ĺ abata <contyk at redhat.com> 0.000-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..9e4c97b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a2d1149aa749804481bda0acdd708279 Devel-GoFaster-0.000.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Devel-GoFaster.git/commit/?h=f22&id=41b4a79871ad9e56ae29b12bb833d6596f17c7ba
More information about the perl-devel
mailing list