3 %bcond_without tests # do not perform "make test"
7 Summary: Data::HashArray - An array class of hashes that has magical properties via overloading and AUTOLOAD.
9 Name: perl-Data-HashArray
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 56b29c7834e68cec48c0c0bb7e101bd5
17 URL: http://search.cpan.org/dist/Data-HashArray/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Normally, Data::HashArray is an array of hashes or hash-based objects.
25 This class has some magical properties that make it easier to deal
28 # %description -l pl.UTF-8
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
44 %{__make} pure_install \
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Data/*.pm