%define module List-Compare %define name perl-%{module} %define version 0.31 %define release 2mdk Name: %{name} Version: %{version} Release: %{release} Summary: Compare elements of two or more lists License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildRoot: %{_tmppath}/%{name}-buildroot/ %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch %description This module allows to compare elements of two or more lists. %prep %setup -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.31-2mdk - fix buildrequires in a backward compatible way * Mon Oct 11 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.31-1mdk - 0.31 * Wed Jun 09 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3-1mdk - first mdk release