%global pkg_name Array-Compare %global pkg_version 2.11 %global rpm_pkg_version 2.11 %global rpm_pkg_release 3.n0i.12 Summary: Class to compare two arrays Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DA/DAVECROSS/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Module::Build) %description If you have two arrays and you want to know if they are the same or different, then Array::Compare will be useful to you. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} [ -f Makefile.PL ] || cat < Makefile.PL use Module::Build::Compat; Module::Build::Compat->run_build_pl(args => \@ARGV); Module::Build::Compat->write_makefile(); EOF %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Thu Nov 12 2015 Marius Feraru - 2.11-3.n0i.12 - automatic rebuild (perl 5.22.0) * Mon Jun 22 2015 Marius Feraru - 2.11-2.n0i.11 - automatic rebuild (perl 5.20.2) * Sun Mar 29 2015 Marius Feraru - 2.11-1.n0i.10 - version 2.11 * Sun May 27 2007 Marius Feraru - 1.14-1.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer v1.14.8 - version 1.14 * Thu Oct 06 2005 Marius Feraru 1.13-1.n0i.8 - version 1.13 * Sat Jul 23 2005 Marius Feraru 1.12-2.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.12-1.n0i.6 - version 1.12 * Sat Dec 04 2004 Marius Feraru 0:1.11-1.n0i.5 - version 1.11 * Fri Apr 30 2004 Marius Feraru 0:1.09-1.n0i.4 - automatic rebuild * Thu Apr 22 2004 Marius Feraru 0:1.09-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 - rebuild (perl 5.8.4) * Thu Jan 22 2004 Marius FERARU 0:1.09-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Wed Dec 31 2003 Marius FERARU 0:1.09-0.n0i.1 - version 1.09 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001