Blame SPECS/perl-Test-Perl-Critic.spec

4418ac
Name:		perl-Test-Perl-Critic
4418ac
Summary:	Use Perl::Critic in test programs
4418ac
Version:	1.02
4418ac
Release:	10%{?dist}
4418ac
Group:		Development/Libraries
4418ac
License:	GPL+ or Artistic
4418ac
URL:		http://search.cpan.org/dist/Test-Perl-Critic/
4418ac
Source0:	http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF/Test-Perl-Critic-%{version}.tar.gz
4418ac
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
4418ac
BuildArch:	noarch
4418ac
BuildRequires:	perl(Carp)
4418ac
BuildRequires:	perl(English)
4418ac
BuildRequires:	perl(Module::Build) >= 0.35
4418ac
BuildRequires:	perl(Perl::Critic) >= 1.105
4418ac
BuildRequires:	perl(Perl::Critic::Utils) >= 1.105
4418ac
BuildRequires:	perl(Perl::Critic::Violation) >= 1.105
4418ac
BuildRequires:	perl(Test::Builder)
4418ac
BuildRequires:	perl(Test::More)
4418ac
BuildRequires:	perl(Test::Pod)
4418ac
BuildRequires:	perl(Test::Pod::Coverage)
4418ac
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4418ac
Requires:	perl(Perl::Critic) >= 1.105
4418ac
Requires:	perl(Perl::Critic::Utils) >= 1.105
4418ac
Requires:	perl(Perl::Critic::Violation) >= 1.105
4418ac
4418ac
# Avoid doc-file dependencies from tests
4418ac
%{?perl_default_filter}
4418ac
4418ac
# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
4418ac
Obsoletes:	%{name}-tests < %{version}-%{release}
4418ac
Provides:	%{name}-tests = %{version}-%{release}
4418ac
4418ac
%description
4418ac
Test::Perl::Critic wraps the Perl::Critic engine in a convenient
4418ac
subroutine suitable for test programs written using the Test::More
4418ac
framework. This makes it easy to integrate coding-standards enforcement
4418ac
into the build process. For ultimate convenience (at the expense of some
4418ac
flexibility), see the criticism pragma.
4418ac
4418ac
%prep
4418ac
%setup -q -n Test-Perl-Critic-%{version}
4418ac
4418ac
%build
4418ac
perl Build.PL installdirs=vendor
4418ac
./Build
4418ac
4418ac
%install
4418ac
rm -rf %{buildroot}
4418ac
./Build install destdir=%{buildroot} create_packlist=0
4418ac
%{_fixperms} %{buildroot}
4418ac
4418ac
%check
4418ac
TEST_AUTHOR=1 ./Build test
4418ac
4418ac
%clean
4418ac
rm -rf %{buildroot}
4418ac
4418ac
%files
4418ac
%doc Changes LICENSE README %{?perl_default_filter:t/ xt/}
4418ac
%{perl_vendorlib}/Test/
4418ac
%{_mandir}/man3/Test::Perl::Critic.3pm*
4418ac
4418ac
%changelog
4418ac
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.02-10
4418ac
- Mass rebuild 2013-12-27
4418ac
4418ac
* Mon Aug 20 2012 Daniel Mach <dmach@redhat.com> - 1.02-9.1
4418ac
- Rebuild for perl 5.16
4418ac
4418ac
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-9
4418ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4418ac
4418ac
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.02-8
4418ac
- Perl 5.16 rebuild
4418ac
4418ac
* Wed Mar 21 2012 Paul Howarth <paul@city-fan.org> - 1.02-7
4418ac
- Drop -tests subpackage (general lack of interest in this), but include
4418ac
  them as documentation for the main package
4418ac
- Drop redundant BR: perl(ExtUtils::MakeMaker)
4418ac
- Drop redundant unversioned explicit requires
4418ac
- Drop %%defattr, redundant since rpm 4.4
4418ac
- Make %%files list more explicit
4418ac
- Don't use macros for commands
4418ac
- Run the author tests in %%check
4418ac
- BR: perl(Test::Pod) and perl(Test::Pod::Coverage)
4418ac
- Use tabs
4418ac
4418ac
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-6
4418ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4418ac
4418ac
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.02-5
4418ac
- Perl mass rebuild
4418ac
4418ac
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4
4418ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4418ac
4418ac
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-3
4418ac
- Rebuild to fix problems with vendorarch/lib (#661697)
4418ac
4418ac
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-2
4418ac
- Mass rebuild with perl-5.12.0
4418ac
4418ac
* Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> - 1.02-1
4418ac
- Update by Fedora::App::MaintainerTools 0.006
4418ac
- Updating to latest GA CPAN version (1.02)
4418ac
- Added a new br on perl(Carp) (version 0)
4418ac
- Added a new br on perl(English) (version 0)
4418ac
- Altered br on perl(Module::Build) (0 => 0.35)
4418ac
- Altered br on perl(Perl::Critic) (0.21 => 1.105)
4418ac
- Added a new br on perl(Perl::Critic::Utils) (version 1.105)
4418ac
- Added a new br on perl(Perl::Critic::Violation) (version 1.105)
4418ac
- Added a new br on perl(Test::Builder) (version 0)
4418ac
- Added a new br on perl(Test::More) (version 0)
4418ac
- Force-adding ExtUtils::MakeMaker as a BR
4418ac
- Dropped old BR on perl(Test::Pod)
4418ac
- Dropped old BR on perl(Test::Pod::Coverage)
4418ac
- Added a new req on perl(Carp) (version 0)
4418ac
- Added a new req on perl(English) (version 0)
4418ac
- Added a new req on perl(Perl::Critic) (version 1.105)
4418ac
- Added a new req on perl(Perl::Critic::Utils) (version 1.105)
4418ac
- Added a new req on perl(Perl::Critic::Violation) (version 1.105)
4418ac
- Added a new req on perl(Test::Builder) (version 0)
4418ac
4418ac
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.01-8
4418ac
- Rebuild against perl 5.10.1
4418ac
4418ac
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-7
4418ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4418ac
4418ac
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-6
4418ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4418ac
4418ac
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-5
4418ac
- Rebuild for perl 5.10 (again)
4418ac
4418ac
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-4
4418ac
- Disable tests, take out patch, doesn't fix test failures
4418ac
4418ac
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-3
4418ac
- Patch for test failure
4418ac
4418ac
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-2
4418ac
- Rebuild for new perl
4418ac
4418ac
* Sat Jan 27 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
4418ac
- Update to 1.01
4418ac
4418ac
* Sun Nov 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-1
4418ac
- Update to 0.08
4418ac
4418ac
* Sat Sep 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.07-1
4418ac
- First build