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

Group :: Development/Perl
RPM: perl-File-chdir

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

BuildRequires: perl(Module/Build.pm)
#
#   - File::chdir -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       File::chdir
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module File-chdir
%define m_distro File-chdir
%define m_name File::chdir
%define m_author_id unknown
%define _enable_test 1

Name: perl-File-chdir
Version: 0.1008
Release: alt1

Summary: a more sensible way to change directories

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

Packager: Denis Smirnov <mithraen at altlinux.ru>

BuildArch: noarch
Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-%{version}.tar.gz

# Automatically added by buildreq on Sun Apr 09 2006

BuildRequires: perl-devel

%description
Perl's chdir() has the unfortunate problem of being very, very, very
global.  If any part of your program calls chdir() or if any library
you use calls chdir(), it changes the current working directory for
the whole program.

This sucks.

File::chdir gives you an alternative, $CWD and  at CWD.  These two
variables combine all the power of "chdir()", File::Spec and Cwd.

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/File*

%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