rpms/perl-namespace-autoclean/F-10 import.log, NONE, 1.1 perl-namespace-autoclean.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

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

 



Author: cweyl

Update of /cvs/extras/rpms/perl-namespace-autoclean/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18684/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-namespace-autoclean.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-namespace-autoclean-0_08-1_fc11:F-10:perl-namespace-autoclean-0.08-1.fc11.src.rpm:1246514942


--- NEW FILE perl-namespace-autoclean.spec ---
Name:       perl-namespace-autoclean 
Version:    0.08 
Release:    1%{?dist}
License:    GPL+ or Artistic
Group:      Development/Libraries
Summary:    Keep imports out of your namespace 
Source:     http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/namespace-autoclean-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/namespace-autoclean
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
BuildRequires: perl(Class::MOP) >= 0.80
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(List::Util)
BuildRequires: perl(namespace::clean) >= 0.11
BuildRequires: perl(Test::More)

%description
When you import a function into a Perl package, it will naturally also
be available as a method. The 'namespace::autoclean' pragma will remove
all imported symbols at the end of the current package's compile cycle.
Functions called in the package itself will still be bound by their
name, but they won't show up as methods on your class or instances. This
module is very similar to namespace::clean, except it will clean all
imported functions, no matter if you imported them before or after you
'use'd the pagma. It will also not touch anything that looks like a
method, according to 'Class::MOP::Class::get_method_list'.


%prep
%setup -q -n namespace-autoclean-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc Changes LICENSE README 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Wed Jul 01 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.08-1
- submission

* Wed Jul 01 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.08-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-namespace-autoclean/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	2 Jul 2009 05:07:55 -0000	1.1
+++ .cvsignore	2 Jul 2009 06:09:36 -0000	1.2
@@ -0,0 +1 @@
+namespace-autoclean-0.08.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-namespace-autoclean/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	2 Jul 2009 05:07:55 -0000	1.1
+++ sources	2 Jul 2009 06:09:37 -0000	1.2
@@ -0,0 +1 @@
+b0d086797cdb060d23c0697605c39002  namespace-autoclean-0.08.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

[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