2006-05-08 17:37:44 +00:00
|
|
|
Name: perl-Module-Install
|
2008-06-04 19:57:43 +00:00
|
|
|
Version: 0.75
|
2008-05-16 22:36:41 +00:00
|
|
|
Release: 1%{?dist}
|
2006-05-08 17:37:44 +00:00
|
|
|
Summary: Standalone, extensible Perl module installer
|
2007-12-30 07:44:52 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-05-08 17:37:44 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Module-Install/
|
2007-05-19 16:14:18 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Module-Install-%{version}.tar.gz
|
2006-05-08 17:37:44 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2007-05-19 16:14:18 +00:00
|
|
|
BuildRequires: perl(Archive::Tar) >= 0.23
|
2008-05-16 22:36:41 +00:00
|
|
|
BuildRequires: perl(CPAN)
|
2007-04-17 19:46:22 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2007-05-19 16:14:18 +00:00
|
|
|
BuildRequires: perl(ExtUtils::ParseXS)
|
2008-05-31 21:23:03 +00:00
|
|
|
BuildRequires: perl(File::Remove) >= 1.40
|
2006-05-08 17:37:44 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Module::CoreList)
|
2008-05-31 21:23:03 +00:00
|
|
|
BuildRequires: perl(Module::ScanDeps) >= 0.83
|
|
|
|
BuildRequires: perl(PAR::Dist) >= 0.29
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.07
|
2008-03-05 20:24:35 +00:00
|
|
|
BuildRequires: perl(Test::MinimumVersion)
|
2007-12-30 07:44:52 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
2008-05-31 21:23:03 +00:00
|
|
|
BuildRequires: perl(YAML::Tiny) >= 1.31
|
2008-01-28 20:57:31 +00:00
|
|
|
Requires: perl(Archive::Tar) >= 0.23
|
|
|
|
Requires: perl(ExtUtils::ParseXS)
|
2006-05-08 17:37:44 +00:00
|
|
|
Requires: perl(Module::Build)
|
|
|
|
Requires: perl(Module::CoreList)
|
2008-05-31 21:23:03 +00:00
|
|
|
Requires: perl(Module::ScanDeps) >= 0.83
|
|
|
|
Requires: perl(PAR::Dist) >= 0.29
|
|
|
|
Requires: perl(YAML::Tiny) >= 1.31
|
2006-05-08 17:37:44 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
Module::Install is a package for writing installers for CPAN (or CPAN-like)
|
|
|
|
distributions that are clean, simple, minimalist, act in a strictly correct
|
|
|
|
manner with both the ExtUtils::MakeMaker and Module::Build build systems,
|
|
|
|
and will run on any Perl installation version 5.004 or newer.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Module-Install-%{version}
|
|
|
|
|
|
|
|
%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 {} \;
|
2006-08-25 20:51:24 +00:00
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
2006-05-08 17:37:44 +00:00
|
|
|
|
2007-04-17 19:46:22 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2006-05-08 17:37:44 +00:00
|
|
|
find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -perm +100 -exec chmod a-x {} \;
|
|
|
|
|
|
|
|
%check
|
2008-03-05 20:24:35 +00:00
|
|
|
# Upstream bug 29448
|
2008-05-16 22:36:41 +00:00
|
|
|
mv t/03_autoinstall.t t/03_autoinstall.t.SPOT
|
2007-12-30 07:44:52 +00:00
|
|
|
make test AUTOMATED_TESTING=1
|
2006-05-08 17:37:44 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2008-05-16 22:36:41 +00:00
|
|
|
%doc Changes LICENSE
|
2006-05-08 17:37:44 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2008-06-04 19:57:43 +00:00
|
|
|
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.75-1
|
|
|
|
- Update to 0.75.
|
|
|
|
|
2008-05-31 21:23:03 +00:00
|
|
|
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.74-1
|
|
|
|
- Update to 0.74.
|
|
|
|
- Update versioned dependencies for File::Remove, Module::ScanDeps,
|
|
|
|
PAR::Dist, and YAML::Tiny.
|
|
|
|
- BR Test::CPAN::Meta.
|
|
|
|
|
2008-05-16 22:36:41 +00:00
|
|
|
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.73-1
|
|
|
|
- Update to 0.73.
|
|
|
|
- BR File::Remove.
|
|
|
|
- Drop zero-length README.
|
|
|
|
|
2008-03-05 20:24:35 +00:00
|
|
|
* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-3
|
|
|
|
- disable broken test (upstream bug present)
|
|
|
|
- add Test::MinimumVersion as BR
|
|
|
|
|
2008-03-05 16:24:41 +00:00
|
|
|
* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2008-01-28 20:57:31 +00:00
|
|
|
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.68-1
|
|
|
|
- Update to 0.68.
|
|
|
|
- Explicitly require Archive::Tar and ExtUtils::ParseXS.
|
|
|
|
|
2007-12-30 07:44:52 +00:00
|
|
|
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.67-2
|
|
|
|
- BR: perl(Test::More), perl(CPAN) (BZ 419631).
|
|
|
|
- Remove TEST_POD (Unused).
|
|
|
|
- Add AUTOMATED_TESTING.
|
|
|
|
- BR: perl(Test::Pod) for AUTOMATED_TESTING.
|
|
|
|
- Adjust License-tag.
|
|
|
|
|
2007-05-19 16:14:18 +00:00
|
|
|
* Fri May 18 2007 Steven Pritchard <steve@kspei.com> 0.67-1
|
|
|
|
- Update to 0.67.
|
|
|
|
- BR Archive::Tar, ExtUtils::ParseXS, and YAML::Tiny.
|
|
|
|
- Add a couple more docs.
|
|
|
|
|
2007-04-17 19:46:22 +00:00
|
|
|
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.65-1
|
|
|
|
- Update to 0.65.
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
2006-09-17 22:44:23 +00:00
|
|
|
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.64-2
|
|
|
|
- Rebuild.
|
|
|
|
|
2006-08-25 20:51:24 +00:00
|
|
|
* Fri Aug 25 2006 Steven Pritchard <steve@kspei.com> 0.64-1
|
|
|
|
- Update to 0.64.
|
|
|
|
- Fix find option order.
|
|
|
|
|
2006-06-08 22:56:41 +00:00
|
|
|
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 0.63-1
|
|
|
|
- Update to 0.63.
|
|
|
|
|
2006-05-08 17:37:44 +00:00
|
|
|
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.62-2
|
|
|
|
- Fix Source0 URL.
|
|
|
|
|
|
|
|
* Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.62-1
|
|
|
|
- Update to 0.62.
|
|
|
|
- Drop executable bit from everything in vendor_perl to make rpmlint happy.
|
|
|
|
|
|
|
|
* Thu Mar 23 2006 Steven Pritchard <steve@kspei.com> 0.61-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.63.
|
|
|
|
- Drop explicit BR: perl.
|
|
|
|
- Turn on TEST_POD.
|