perl-Test-Deep/perl-Test-Deep.spec

Name: perl-Test-Deep
Summary: Perl module implements an extremely flexible deep comparison
Version: 0.109
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Deep/
Description: perl-Test-Deep is a Perl module implements an extremely flexible deep comparison.

CentOS 7 x86_64

The build could not start because the following file is missing: Test-Deep-0.109.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Test-Deep-0.109.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Ricardo SIGNES <rjbs@cpan.org>

### EL6 ships with perl-Test-Deep-0.106-1.el6
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Test-Deep

Summary: Perl module implements an extremely flexible deep comparison
Name: perl-Test-Deep
Version: 0.109
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Deep/

Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Deep-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(List::Util) >= 1.09
BuildRequires: perl(Scalar::Util) >= 1.09
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings) >= 0.02
BuildRequires: perl(Test::Tester) >= 0.04
Requires: perl(List::Util) >= 1.09
Requires: perl(Scalar::Util) >= 1.09
Requires: perl(Test::More)
Requires: perl(Test::NoWarnings) >= 0.02
Requires: perl(Test::Tester) >= 0.04

### remove autoreq Perl dependencies
%filter_from_requires /^perl.*/d
%filter_setup


%description
perl-Test-Deep is a Perl module implements an extremely flexible deep comparison.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%{__make} test

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES MANIFEST META.yml README TODO
%doc %{_mandir}/man3/Test::Deep.3pm*
%doc %{_mandir}/man3/Test::Deep::NoTest.3pm*
%dir %{perl_vendorlib}/Test/
%{perl_vendorlib}/Test/Deep/
%{perl_vendorlib}/Test/Deep.pm

%changelog
* Mon Jun 11 2012 David Hrbáč <david@hrbac.cz> - 0.109-1
- new upstream release

* Tue Feb  8 2011 Christoph Maser <cmaser@gmx.de> - 0.108-1
- Updated to version 0.108.

* Sat Aug 29 2009 Christoph Maser <cmr@financial.com> - 0.106-1
- Updated to version 0.106.

* Fri Jun 12 2009 Christoph Maser <cmr@financial.com> - 0.104-1
- Updated to version 0.104.

* Thu Feb 21 2008 Dag Wieers <dag@wieers.com> - 0.100-1
- Updated to release 0.100.

* Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 0.099-1
- Updated to release 0.099.

* Fri May 04 2007 Dag Wieers <dag@wieers.com> - 0.096-1
- Initial package. (using DAR)