Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37424209
en ru br
ALT Linux repos
S:1.20190531-alt1_3

Group :: Development/Perl
RPM: perl-SUPER

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Module/Build.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-SUPER
Version: 1.20190531
Release: alt1
Summary: Sane superclass method dispatcher
License: GPL+ or Artistic
URL: https://metacpan.org/release/SUPER
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
BuildArch: noarch
# =============== Module Build =================
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# =============== Module Runtime ===============
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Sub/Identify.pm)
BuildRequires: perl(warnings.pm)
# =============== Test Suite ===================
BuildRequires: perl(base.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
# =============== Module Runtime ===============
Requires: perl(Scalar/Util.pm) >= 1.200
Requires: perl(Sub/Identify.pm) >= 0.030
Source44: import.info

%description
When subclassing a class, you occasionally want to dispatch control to the
superclass - at least conditionally and temporarily. This module provides
an easier, cleaner way for class methods to access their ancestor's
implementation.

%prep
%setup -q -n SUPER-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build

%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
# %{_fixperms} %{buildroot}

%check
make test

%files
%if 0%{?_licensedir:1}
%else
%endif
%doc Changes README
%{perl_vendor_privlib}/SUPER.pm

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin