perl-Data-Compare/perl-Data-Compare.spec

Name: perl-Data-Compare
Summary: Compare perl data structures
Version: 1.2102
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Compare/
Description: This module compares arbitrary data structures to see if they are copies of each other.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: David Cantrell <pause$barnyard,co,uk>

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

%define real_name Data-Compare

Summary: Compare perl data structures
Name: perl-Data-Compare
Version: 1.2102
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Compare/

Source: http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Data-Compare-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(File::Find::Rule) >= 0.1
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(File::Find::Rule) >= 0.1
Requires: perl(Scalar::Util)

%filter_from_requires /^perl*/d
%filter_setup


%description
This module compares arbitrary data structures to see if they are copies
of each other.

%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 NOTES README TODO
%doc %{_mandir}/man3/Data::Compare.3pm*
%doc %{_mandir}/man3/Data::Compare::*.3pm*
%dir %{perl_vendorlib}/Data/
%{perl_vendorlib}/Data/Compare/
%{perl_vendorlib}/Data/Compare.pm

%changelog
* Sat Feb  6 2010 Christoph Maser <cmr@financial.com> - 1.2102-1
- Updated to version 1.2102.

* Thu Jul  9 2009 Christoph Maser <cmr@financial.com> - 1.2101-1
- Updated to version 1.2101.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 1.21-1
- Updated to release 1.21.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 1.19-1
- Updated to release 1.19.

* Wed Jan 23 2008 Dag Wieers <dag@wieers.com> - 1.18-1
- Updated to release 1.18.

* Thu Nov 08 2007 Dag Wieers <dag@wieers.com> - 0.17-1
- Updated to release 0.17.

* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.16-1
- Updated to release 0.16.

* Tue Nov 14 2006 Dries Verachtert <dries@ulyssis.org> - 0.14-1
- Updated to release 0.14.

* Sat Apr  9 2005 Dries Verachtert <dries@ulyssis.org> - 0.13-1
- Initial package.