Update to 2.02. Update License tag. Drop README. Switch to using

ExtUtils::MakeMaker build instead of Module::Build. BR Test::More.
This commit is contained in:
Steven Pritchard 2008-01-03 00:03:34 +00:00
parent 2c183d46c5
commit 233770c2d5
3 changed files with 20 additions and 10 deletions

View File

@ -1 +1 @@
Devel-Caller-0.11.tar.gz
Devel-Caller-2.02.tar.gz

View File

@ -1,14 +1,15 @@
Name: perl-Devel-Caller
Version: 0.11
Version: 2.02
Release: 1%{?dist}
Summary: Meatier versions of caller
License: GPL or Artistic
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-Caller/
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Devel-Caller-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Module::Build)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(PadWalker) >= 0.08
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@ -18,32 +19,41 @@ Devel::Caller - Meatier versions of caller.
%setup -q -n Devel-Caller-%{version}
%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
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
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%doc Changes
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Devel*
%{_mandir}/man3/*
%changelog
* Wed Jan 02 2008 Steven Pritchard <steve@kspei.com> 2.02-1
- Update to 2.02.
- Update License tag.
- Drop README.
- Switch to using ExtUtils::MakeMaker build instead of Module::Build.
- BR Test::More.
* Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.11-1
- Specfile autogenerated by cpanspec 1.69.1.
- "Fix" description.

View File

@ -1 +1 @@
56c7ed8204be4e7c63d524d21fa56050 Devel-Caller-0.11.tar.gz
9c23a6d77003f1efe3f5f6d5e7cb2a46 Devel-Caller-2.02.tar.gz