Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Perl-Destruct-Level
perl-Perl-Destruct-Level.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Perl-Destruct-Level.spec of Package perl-Perl-Destruct-Level
# # spec file for package perl-Perl-Destruct-Level # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name Perl-Destruct-Level Name: perl-Perl-Destruct-Level Version: 0.20.0 Release: 0 # 0.02 -> normalize -> 0.20.0 %define cpan_version 0.02 #Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) License: Artistic-1.0 OR GPL-2.0-or-later Summary: Allow to change perl's destruction level URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros Provides: perl(Perl::Destruct::Level) = %{version} %undefine __perllib_provides %{perl_requires} %description This module allows to change perl's internal _destruction level_. The default value of the destruct level is 0; it means that perl won't bother destroying all its internal data structures, but let the OS do the cleanup for it at exit. For perls built with debugging support ('-DDEBUGGING'), an environment variable 'PERL_DESTRUCT_LEVEL' allows to control the destruction level. This modules enables to modify it on non-debugging perls too. Relevant values recognized by perl are 1 and 2. Consult your source code to know exactly what they mean. Note that some embedded environments might extend the meaning of the destruction level for their own purposes: mod_perl does that, for example. %prep %autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %changelog
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