perl-Module-Build/perl-Module-Build.spec

95 lines
2.9 KiB
RPMSpec
Raw Normal View History

%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
Name: perl-Module-Build
2004-12-04 15:32:59 +00:00
Version: 0.2605
Release: 1
Epoch: 0
Summary: Perl module for building and installing Perl modules
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Module-Build/
2004-12-04 15:32:59 +00:00
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-0.2605.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
Requires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Perl module for building and installing Perl modules, a replacement to
ExtUtils::MakeMaker.
%prep
%setup -q -n Module-Build-%{version}
2004-12-04 15:32:59 +00:00
# See 2004-12-01 changelog entry for rationale for this hack:
%{__perl} -MTest::Harness::Straps -e \
'$Test::Harness::Straps::VERSION < 0.20 &&
system("%{__perl} -pi -e \"s/have_yaml = .*/have_yaml = 0;/\" \\
t/runthrough.t")'
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{_bindir}/config_data
%{perl_vendorlib}/Module
%{_mandir}/man1/config_data.1*
%{_mandir}/man3/Module::Build*.3*
%changelog
2004-12-04 15:32:59 +00:00
* Wed Dec 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.2605-1
- Update to 0.2605.
- Disable some tests if Test::Harness::Straps is < 0.20 to avoid failing
when the default @INC is longish, such as in FC3 Perl.
http://sourceforge.net/mailarchive/forum.php?thread_id=6056820&forum_id=10905
http://rt.cpan.org/NoAuth/Bug.html?id=5649
* Sun Oct 10 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.26-0.fdr.1
- Update to 0.26.
* Sat May 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.25-0.fdr.3
- Require perl(YAML) and perl(ExtUtils::ParseXS) (bug 1348).
* Tue Apr 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.25-0.fdr.2
- Do not require Archive::Tar, it is not used on Unix platforms anyway.
Instead, gzip and tar are used, but even they are optional and used only
in the 'dist' and 'ppmdist' actions.
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.25-0.fdr.1
- Update to 0.25.
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.24-0.fdr.2
- Require perl(:MODULE_COMPAT_*).
* Thu Feb 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.24-0.fdr.1
- Update to 0.24.
* Mon Jan 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.22-0.fdr.1
- Update to 0.22.
* Thu Sep 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.20-0.fdr.1
- First build.