rpms/perl-Tie-ToObject/F-8 import.log, NONE, 1.1 perl-Tie-ToObject.spec, NONE, 1.1 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Mon Sep 8 22:00:03 UTC 2008

Author: cweyl

Update of /cvs/extras/rpms/perl-Tie-ToObject/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11546

Modified Files:
Added Files:
	import.log perl-Tie-ToObject.spec 
Log Message:
pseudo-branch of perl-Tie-ToObject to F-8

--- NEW FILE import.log ---

--- NEW FILE perl-Tie-ToObject.spec ---

Name:       perl-Tie-ToObject 
Version:    0.03 
Release:        2%{?dist}
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    Tie to an existing object 
Source:     http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Tie-ToObject-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/Tie-ToObject
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Scalar::Util)
# tests
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::use::ok)
BuildRequires: perl(Tie::RefHash)

While the perldoc/tie manpage 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.

%setup -q -n Tie-ToObject-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

make test

rm -rf %{buildroot} 

%doc t/  

* Mon Sep 08 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.03-2
- bump

* Sat Sep 06 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.03-1
- initial Fedora packaging
- generated with cpan2dist (CPANPLUS::Dist::Fedora version 0.0.1)

Index: sources
RCS file: /cvs/extras/rpms/perl-Tie-ToObject/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Sep 2008 15:21:22 -0000	1.1
+++ sources	8 Sep 2008 21:59:33 -0000	1.2
@@ -0,0 +1 @@
+b4f434992c286d531f26893c78541456  Tie-ToObject-0.03.tar.gz

More information about the Fedora-perl-devel-list mailing list