Name: perl-Data-Compare Version: 1.2200 Release: 1%{?dist} Summary: Compare perl data structures License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Compare/ Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-1.22.tar.gz BuildRoot: %{_tmppath}/%{name}-1.22-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find::Rule) >= 0.1 Requires: perl(File::Find::Rule) >= 0.1 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Compare two perl data structures recursively. Returns 0 if the structures differ, else returns 1. %prep %setup -q -n Data-Compare-1.22 %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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ARTISTIC.txt CHANGES GPL2.txt MAINTAINERS-NOTE NOTES README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jan 01 2012 Dave Cross 1.22-1 - Specfile autogenerated by cpanspec 1.78.