Update to 1.99.
This commit is contained in:
parent
6602685d85
commit
4858f9d2f5
@ -1 +1 @@
|
||||
Module-CoreList-1.98.tar.gz
|
||||
Module-CoreList-1.99.tar.gz
|
||||
|
@ -1,19 +1,17 @@
|
||||
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
|
||||
|
||||
Name: perl-Module-CoreList
|
||||
Version: 1.98
|
||||
Release: 2
|
||||
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.98.tar.gz
|
||||
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(Module::Build), perl(Test::More)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -24,22 +22,25 @@ 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
|
||||
%{__perl} -pi -e 's{^#!/usr/local/perl5.6.1/bin/perl\b}{#!%{__perl}}' \
|
||||
identify-dependencies
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
./Build install destdir=$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 || :
|
||||
./Build test
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
@ -56,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%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).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user