3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Class::Mix - dynamic class mixing
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 14f9d08abf878afc1592f3861cf98be4
17 URL: http://search.cpan.org/dist/Class-Mix/
18 BuildRequires: perl-Params-Classify
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The mix_class function provided by this module dynamically generates
26 `anonymous' classes with specified inheritance.
29 %setup -q -n %{pdir}-%{pnam}-%{version}
33 --destdir=$RPM_BUILD_ROOT \
37 %{?with_tests:./Build test}
40 rm -rf $RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %{perl_vendorlib}/Class/Mix.pm