Name: perl-Sub-Identify
Version: 0.03
Release: 1%{?dist}
Summary: Retrieve names of code references
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sub-Identify/
Source0: http://www.cpan.org/authors/id/R/RG/RGARCIA/Sub-Identify-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Sub::Identify allows you to retrieve the real name of code references. For
this, it uses perl's introspection mechanism, provided by the B module.
%prep
%setup -q -n Sub-Identify-%{version}
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
%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 t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
- update to 0.03
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-3
- rebuild for new perl
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-2.2
- add BR: perl(Test::More)
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-2.1
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-2
- bump
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
- Specfile autogenerated by cpanspec 1.69.1.