Sophie

Sophie

distrib > Mageia > 2 > x86_64 > media > core-release-src > by-pkgid > 8d3027ee07d89300180653c9613d5b61 > files > 2

perl-Struct-Compare-1.0.1-1.mga2.src.rpm

%define upstream_name    Struct-Compare
%define upstream_version 1.0.1

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Recursive diff for perl structures
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Struct/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildArch: noarch

%description
Compares two values of any type and structure and returns true if they are
the same. It does a deep comparison of the structures, so a hash of a hash
of a whatever will be compared correctly.

This is especially useful for writing unit tests for your modules!

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
%makeinstall_std

%files
%doc Changes
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog

* Sat Nov 19 2011 kharec <kharec> 1.0.1-1.mga2
+ Revision: 169151
- imported package perl-Struct-Compare


* Sat Nov 19 2011 cpan2dist 1.0.1-1mga
- initial mageia release, generated with cpan2dist