3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Data::Compare perl module
9 Summary(pl): Modu³ perla Data::Compare
10 Name: perl-Data-Compare
14 License: GPL or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: e5767db3c11416ab474b87b8b50bf841
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: perl-devel >= 5.8
21 BuildRequires: perl-File-Find-Rule >= 0.11
22 BuildRequires: perl-Scalar-Properties
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Data::Compare perl module - compare perl data structures.
31 Modu³ perla Data::Compare s³u¿y do porównywania struktur danych.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Data/Compare.pm
54 %{perl_vendorlib}/Data/Compare/Plugins