Name: perl-mixin Version: 0.07 Release: 1%{?dist} Summary: Mixin inheritance, an alternative to multiple inheritance # The FSF address is outdated, rt#103225 License: GPL+ or Artistic URL: http://search.cpan.org/dist/mixin/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/mixin-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: perl BuildRequires: perl(Module::Build) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(base) # XXX: BuildRequires: perl(Carp) BuildRequires: perl(vars) # Tests only BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(lib) BuildRequires: perl(Test::NoWarnings) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(base) Requires: perl(Carp) %description Mixin inheritance is an alternative to the usual multiple-inheritance and solves the problem of knowing which parent will be called. It also solves a number of tricky problems like diamond inheritance. %prep %setup -q -n mixin-%{version} %build perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 %{_fixperms} %{buildroot}/* %check ./Build test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Mar 31 2015 Petr Ĺ abata 0.07-1 - Initial packaging