Author: cweyl Update of /cvs/extras/rpms/perl-Scope-Upper/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3115/devel Modified Files: .cvsignore sources Added Files: import.log perl-Scope-Upper.spec Log Message: initial import --- NEW FILE import.log --- perl-Scope-Upper-0_06-1_fc10:HEAD:perl-Scope-Upper-0.06-1.fc10.src.rpm:1234557125 --- NEW FILE perl-Scope-Upper.spec --- Name: perl-Scope-Upper Version: 0.06 Release: 1%{?dist} # lib/Scope/Upper.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Act on upper scopes Source: http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/Scope-Upper-%{version}.tar.gz Url: http://search.cpan.org/dist/Scope-Upper BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Exporter) BuildRequires: perl(XSLoader) # testing BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %description This module lets you defer actions that will take place when the control flow returns into an upper scope. Currently, you can hook an upper scope end, or localize variables, array/hash values or deletions of elements in higher contexts. You can also return to an upper level and know which context was in use then. %prep %setup -q -n Scope-Upper-%{version} %{__perl} -pi -e 's|^#!perl|#!%{__perl}|' samples/* %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README Changes samples/ %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %changelog * Tue Feb 10 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.06-1 - brush-up for review submission * Tue Feb 10 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.06-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Scope-Upper/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 13 Feb 2009 07:01:50 -0000 1.1 +++ .cvsignore 13 Feb 2009 20:32:12 -0000 1.2 @@ -0,0 +1 @@ +Scope-Upper-0.06.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Scope-Upper/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 13 Feb 2009 07:01:50 -0000 1.1 +++ sources 13 Feb 2009 20:32:13 -0000 1.2 @@ -0,0 +1 @@ +de6a0d15e7c2b454f08ce38309cc0078 Scope-Upper-0.06.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list