Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
perl-WeakRef
perl-WeakRef.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-WeakRef.spec of Package perl-WeakRef
# # spec file for package perl-WeakRef (Version 0.01) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-WeakRef Version: 0.01 Release: 1 Provides: perl-Weakref Obsoletes: perl-Weakref Requires: perl = %{perl_version} Summary: API for weak references to be created in Perl License: GPL, Artistic License URL: http://search.cpan.org/dist/WeakRef/ Group: Development/Libraries/Perl Autoreqprov: on Source: http://search.cpan.org/CPAN/authors/id/L/LU/LUKKA/WeakRef-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A patch to Perl 5.005_55 by the author implements a core API for weak references. This module is a Perl-level interface to that API, allowing weak references to be created in Perl. A weak reference is just like an ordinary Perl reference except that it isn't included in the reference count of the thing referred to. This means that once all references to a particular piece of data are weak, the piece of data is freed and all the weak references are set to undef. This is particularly useful for implementing circular data structures without memory leaks or caches of objects. Authors: -------- Tuomas J. Lukka <lukka@iki.fi> %prep %setup -n WeakRef-%{version} %build perl Makefile.PL INSTALLDIRS=site make make test %install [ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean [ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %files %defattr (-, root, root) %doc %{_mandir}/man?/* %{perl_vendorarch}/WeakRef.pm %{perl_vendorarch}/auto/WeakRef /var/adm/perl-modules/%{name} %changelog -n perl-WeakRef * Mon Oct 02 2006 - anicka@suse.cz - rename to perl-WeakRef * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Jun 22 2004 - rommel@suse.de - initial checkin
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor