perl-Module-CoreList/perl-Module-CoreList.spec
Jose Pedro Oliveira 4858f9d2f5 Update to 1.99.
2005-04-06 17:40:22 +00:00

72 lines
1.9 KiB
RPMSpec

Name: perl-Module-CoreList
Version: 1.99
Release: 1
Summary: Perl core modules indexed by perl versions
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Module-CoreList/
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Module-CoreList-1.99.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Module::CoreList contains the hash of hashes %Module::CoreList::version,
this is keyed on perl version as indicated in $]. The second level hash
is module => version pairs.
%prep
%setup -q -n Module-CoreList-%{version}
%{__perl} -pi -e 's{^#!/usr/local/perl5.6.1/bin/perl\b}{#!%{__perl}}' \
identify-dependencies
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README identify-dependencies
%{_bindir}/*
%{perl_vendorlib}/Module/
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%changelog
* Tue Apr 05 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.99-1
- Update to 1.99.
- Module::CoreList is now a core module (perl >= 5.9.2).
* Tue Jan 04 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.98-2
- BuildRequires: perl(Module::Build) (#2362).
* Mon Jan 03 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.98-0.fdr.1
- Update to 1.98.
* Thu Dec 23 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.97-0.fdr.1
- First build.