# # - Tie::ToObject - # This spec file was automatically generated by cpan2rpm [ver: 2.027] # (ALT Linux revision) # The following arguments were used: # Tie::ToObject # For more information on cpan2rpm please visit: http://perl.arix.com/ # %define module Tie-ToObject %define m_distro Tie-ToObject %define m_name Tie::ToObject %define m_author_id NUFFIN %define _enable_test 1 Name: perl-Tie-ToObject Version: 0.03 Release: alt2.1 Summary: %m_name - Tie to an existing object License: Artistic Group: Development/Perl Url: http://search.cpan.org/dist/Tie-ToObject/ Packager: Michael Bochkaryov BuildArch: noarch Source: %m_distro-%version.tar.gz # Automatically added by buildreq on Wed Sep 17 2008 (-bi) BuildRequires: perl-Test-use-ok BuildRequires: perl-Tie-RefHash %description While "tie" in perldoc allows tying to an arbitrary object, the class in question must support this in it's implementation of "TIEHASH", "TIEARRAY" or whatever. This class provides a very tie constructor that simply returns the object it was given as it's first argument. This way side effects of calling "$object->TIEHASH" are avoided. This is used in Data::Visitor in order to tie a variable to an already existing object. This is also useful for cloning, when you want to clone the internal state object instead of going through the tie interface for that variable. %prep %setup -q -n %m_distro-%version %build %perl_vendor_build %install %perl_vendor_install %files %perl_vendor_privlib/Tie* %changelog * Wed Nov 24 2010 Igor Vlasenko 0.03-alt2.1 - repair after perl 5.12 upgrade using girar-nmu * Wed Sep 17 2008 Michael Bochkaryov 0.03-alt2 - fix directory ownership violation * Thu Jun 05 2008 Michael Bochkaryov 0.03-alt1 - first build for ALT Linux Sisyphus