76 lines
2.2 KiB
RPMSpec
76 lines
2.2 KiB
RPMSpec
Name: perl-Devel-Caller
|
|
Version: 2.03
|
|
Release: 5%{?dist}
|
|
Summary: Meatier versions of caller
|
|
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(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(PadWalker) >= 0.08
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Devel::Caller - Meatier versions of caller.
|
|
|
|
%prep
|
|
%setup -q -n Devel-Caller-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
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
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes
|
|
%{perl_vendorarch}/auto/*
|
|
%{perl_vendorarch}/Devel*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.03-3
|
|
Rebuild for new perl
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.03-2
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 2.03-1
|
|
- Update to 2.03.
|
|
|
|
* 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.
|
|
- Remove explicit dependency on PadWalker.
|