Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37387450
en ru br
ALT Linux repos
S:0.241-alt1
5.0: 0.221-alt2

Group :: Development/Perl
RPM: perl-parent

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
#
#   - parent -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       parent
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module parent
%define m_distro parent
%define m_name parent
%define m_author_id CORION
%define _enable_test 1

Name: perl-parent
Version: 0.241
Release: alt1

Summary: Establish an ISA relationship with base classes at compile time

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/parent/

Packager: Michael Bochkaryov <misha at altlinux.ru>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/C/CO/CORION/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Fri Sep 05 2008 (-bi)

BuildRequires: perl-devel

%description
"parent" allows you to both load one or more modules, while setting up inheritance from
those modules at the same time

package Baz;
use parent qw(Foo Bar);

mostly is similar in effect to

   package Baz;
   BEGIN {
       require Foo;
       require Bar;
       push  at ISA, qw(Foo Bar);
   }


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

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/parent*
%doc Changes

%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