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
#
# - 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