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:
parent
2c183d46c5
commit
233770c2d5
@ -1 +1 @@
|
|||||||
Devel-Caller-0.11.tar.gz
|
Devel-Caller-2.02.tar.gz
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
Name: perl-Devel-Caller
|
Name: perl-Devel-Caller
|
||||||
Version: 0.11
|
Version: 2.02
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Meatier versions of caller
|
Summary: Meatier versions of caller
|
||||||
License: GPL or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Devel-Caller/
|
URL: http://search.cpan.org/dist/Devel-Caller/
|
||||||
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Devel-Caller-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Devel-Caller-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(PadWalker) >= 0.08
|
BuildRequires: perl(PadWalker) >= 0.08
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -18,32 +19,41 @@ Devel::Caller - Meatier versions of caller.
|
|||||||
%setup -q -n Devel-Caller-%{version}
|
%setup -q -n Devel-Caller-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
./Build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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 -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
make test
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README
|
%doc Changes
|
||||||
%{perl_vendorarch}/auto/*
|
%{perl_vendorarch}/auto/*
|
||||||
%{perl_vendorarch}/Devel*
|
%{perl_vendorarch}/Devel*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.11-1
|
||||||
- Specfile autogenerated by cpanspec 1.69.1.
|
- Specfile autogenerated by cpanspec 1.69.1.
|
||||||
- "Fix" description.
|
- "Fix" description.
|
||||||
|
Loading…
Reference in New Issue
Block a user