Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37409300
en ru br
ALT Linux repos
S:0.19-alt1
5.0: 0.11-alt2
4.1: 0.11-alt1
4.0: 0.11-alt1

Group :: Development/Perl
RPM: perl-UNIVERSAL-require

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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

%define module UNIVERSAL-require
%define m_distro UNIVERSAL-require
%define m_name UNIVERSAL::require
%define m_author_id unknown
%define _enable_test 1

Name: perl-UNIVERSAL-require
Version: 0.19
Release: alt1

Summary: require() modules from a variable

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Wed Nov 22 2006

BuildRequires: perl-devel

%description
If you've ever had to do this...

   eval "require $module";

to get around the bareword caveats on require(), this module is for
you.  It creates a universal require() class method that will work
with every Perl module and its secure.  So instead of doing some
arcane eval() work, you can do this:

   $module->require;

It doesn't save you much typing, but it'll make alot more sense to
someone who's not a ninth level Perl acolyte.

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

%build
%perl_vendor_build

%install
%perl_vendor_install
rm -rf %buildroot%perl_vendor_man3dir/

%files
%doc Changes README
%perl_vendor_privlib/UNIVERSAL/*

%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