2007-01-22 14:03:50 +00:00
|
|
|
Name: perl-B-Keywords
|
2007-02-15 17:01:42 +00:00
|
|
|
Version: 1.06
|
2008-02-27 21:43:23 +00:00
|
|
|
Release: 3%{?dist}
|
2007-01-22 14:03:50 +00:00
|
|
|
Summary: Lists of reserved barewords and symbol names
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2008-01-11 19:23:21 +00:00
|
|
|
License: GPL+ or Artistic
|
2007-01-22 14:03:50 +00:00
|
|
|
URL: http://search.cpan.org/dist/B-Keywords/
|
|
|
|
Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/B-Keywords-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Test::Pod)
|
2008-02-27 21:43:23 +00:00
|
|
|
# BuildRequires: perl(Test::Pod::Coverage)
|
2007-01-22 14:03:50 +00:00
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n B-Keywords-%{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 {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# Skip the Perl::Critic tests for two reasons:
|
|
|
|
# 1) it fails a couple of tests
|
|
|
|
# 2) it causes bootstrap problems
|
|
|
|
# (Perl::Critic 0.23 requires this module)
|
|
|
|
mv t/05critic.t t/05critic.t.skip
|
2008-02-27 21:43:23 +00:00
|
|
|
# AUTHOR_TESTS=1 make test
|
2007-01-22 14:03:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes LICENSE
|
|
|
|
%{perl_vendorlib}/B/
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-02-27 21:43:23 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-3
|
|
|
|
- Rebuild for perl 5.10 (again), disable tests for first pass
|
|
|
|
|
2008-01-14 22:32:09 +00:00
|
|
|
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-2
|
|
|
|
- rebuild normally, second pass
|
|
|
|
|
2008-01-11 19:23:21 +00:00
|
|
|
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-1.1
|
|
|
|
- rebuild for new perl
|
|
|
|
- disable Test-Pod-Coverage, tests for first pass
|
|
|
|
|
2007-02-15 17:01:42 +00:00
|
|
|
* Thu Feb 15 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
|
|
|
|
- Update to 1.06.
|
|
|
|
|
2007-01-22 14:03:50 +00:00
|
|
|
* Sat Jan 20 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1
|
|
|
|
- First build.
|