3 %bcond_without tests # do not perform "make test"
7 Summary: Class::Mix - dynamic class mixing
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 14f9d08abf878afc1592f3861cf98be4
16 URL: http://search.cpan.org/dist/Class-Mix/
17 BuildRequires: perl-Params-Classify
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 The mix_class function provided by this module dynamically generates
25 `anonymous' classes with specified inheritance.
28 %setup -q -n %{pdir}-%{pnam}-%{version}
32 --destdir=$RPM_BUILD_ROOT \
36 %{?with_tests:./Build test}
39 rm -rf $RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %{perl_vendorlib}/Class/Mix.pm