File perl-Class-Autouse.spec of Package perl-Class-Autouse
#
# spec file for package perl-Class-Autouse (Version 1.29)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Class-Autouse
BuildRequires: perl-Carp-Assert
Version: 1.29
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
Url: http://cpan.org/modules/by-module/Class/
Summary: Run-time class loading on first method call
Source: Class-Autouse-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Class::Autouse allows you to specify a class the will only load when a
method of that class is called. For large classes that might not be
used during the running of a program, such as Date::Manip, this can
save you large amounts of memory, and decrease the script load time.
Authors:
--------
Adam Kennedy
%prep
%setup -q -n Class-Autouse-%{version}
%build
perl Makefile.PL
make
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%doc Changes README
%{perl_vendorlib}/Class
%{perl_vendorarch}/auto/Class
/var/adm/perl-modules/%{name}
%changelog
* Fri Dec 14 2007 - anicka@suse.cz
- update to 1.29
* Debugging change in 1.25 regressed an undocumented 5.6-related
bug first fixed in 1.20.
* Expands the can hook to also hook isa
* Added t/05_base.t to try and chase down base.pm bug
* Documenting ->autouse(@classes)
* Tidying up the POD a little to refer to features
in an order much more relevant to the reader.
* Catch and rethrow all error when autoloading during a ->can.
* Debugging can now only be done at compile time, and thus is
optimised out. The :debug flag is removed and instead you need
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Fri Jul 29 2005 - cthiel@suse.de
- update to version 1.18
* Tue May 31 2005 - ro@suse.de
- created package, version 1.17