[perl-Lexical-SealRequireHints] Initial import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 2dc103f1d30ffab2c82065dbd353a57e51f4b06b
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Thu May 24 17:19:47 2012 +0200

    Initial import

 .gitignore                         |    1 +
 perl-Lexical-SealRequireHints.spec |   59 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..161e871 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lexical-SealRequireHints-0.007.tar.gz
diff --git a/perl-Lexical-SealRequireHints.spec b/perl-Lexical-SealRequireHints.spec
new file mode 100644
index 0000000..670e665
--- /dev/null
+++ b/perl-Lexical-SealRequireHints.spec
@@ -0,0 +1,59 @@
+Name:           perl-Lexical-SealRequireHints
+Version:        0.007
+Release:        1%{?dist}
+Summary:        Prevent leakage of lexical hints
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Lexical-SealRequireHints/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Lexical-SealRequireHints-%{version}.tar.gz
+BuildRequires:  perl >= 0:5.006
+BuildRequires:  perl(Module::Build)
+# Tests
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(XSLoader)
+# Optional tests
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(threads)
+BuildRequires:  perl(Thread::Semaphore)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Conflicts:      perl(B:Hooks::OP::Check) < 0.19
+
+%{?perl_default_filter}
+
+%description
+This module works around two historical bugs in Perl's handling of the %^H
+(lexical hints) variable. One bug causes lexical state in one file to leak
+into another that is required/used from it. This bug, [perl #68590], was
+present from Perl 5.6 up to Perl 5.10, fixed in Perl 5.11.0. The second bug
+causes lexical state (normally a blank %^H once the first bug is fixed) to
+leak outwards from utf8.pm, if it is automatically loaded during Unicode
+regular expression matching, into whatever source is compiling at the time
+of the regexp match. This bug, [perl #73174], was present from Perl 5.8.7
+up to Perl 5.11.5, fixed in Perl 5.12.0.
+
+%prep
+%setup -q -n Lexical-SealRequireHints-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Lexical*
+%{_mandir}/man3/*
+
+%changelog
+* Tue May 22 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.007-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..993c4f1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eff25e457f66a598a3a1631b27ce1b72  Lexical-SealRequireHints-0.007.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux