8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
9a652babc0 Accepting request 1278638 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1278638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=17
2025-05-20 15:05:04 +00:00
5c782078e8 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-GlobalDestruction?expand=0&rev=24
2025-05-20 10:40:03 +00:00
41179c8c02 Accepting request 439450 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/439450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=16
2016-11-10 12:27:23 +00:00
Stephan Kulow
6201b915fb Accepting request 249334 from devel:languages:perl
- updated to 0.13
  * include README
  * include minimum perl version 5.6 in metadata

OBS-URL: https://build.opensuse.org/request/show/249334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=15
2014-09-17 15:25:30 +00:00
Stephan Kulow
1b5bcb3358 Accepting request 208387 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/208387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=13
2013-12-06 12:45:01 +00:00
Stephan Kulow
57c017dfdb Accepting request 177408 from devel:languages:perl
- updated to 0.11
  * Fix upgrading from version 0.09 or older
  * Rewrite pure-perl implementation in terms of B::main_start
    (greatly simplifies code)
  * Fix pure-perl behavior under $^C (RT#78619))
  * Separate XS portion into a compiler-optional dependency
    Devel::GlobalDestruction::XS
  * Rewrite completely broken pure-perl GD detection under threads
  * Fix pure-perl implementation incorrectly reporting GD during END phase
  * Switch to Sub::Exporter::Progressive
  * Actually detect errors in pure-perl test
  * Add prototype to pure-perl pre-5.14 version
  * De-retardize XS-less behavior under SpeedyCGI
  * Test suite now works from within space-containing paths
  * Pure-perl implementation for situations where neither ${^GLOBAL_PHASE} nor
    XS are available (forwarded request 177346 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=11
2013-06-09 14:55:45 +00:00
Stephan Kulow
72fa1b809d replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=8
2011-12-06 17:40:29 +00:00
Stephan Kulow
1772f01c7a Accepting request 94390 from devel:languages:perl
- update to 0.04
  * To detect a perl with ${^GLOBAL_PHASE}, check for the feature 
    itself instead of a specific perl version (doy).
  * Stop depending on Scope::Guard for the tests (doy).
  * Upgrade ppport.h from version 3.13 to 3.19.

OBS-URL: https://build.opensuse.org/request/show/94390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=7
2011-12-02 08:27:51 +00:00
Ruediger Oertel
0444b7f78a Autobuild autoformatter for 60117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=4
2011-02-07 11:21:22 +00:00
Ruediger Oertel
259f5c9307 Accepting request 60117 from devel:languages:perl
Accepted submit request 60117 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/60117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-GlobalDestruction?expand=0&rev=3
2011-02-07 11:21:14 +00:00
2 changed files with 24 additions and 16 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 20 10:39:49 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Tue Nov 1 06:21:26 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Devel-GlobalDestruction
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Devel-GlobalDestruction
Version: 0.14
Release: 0
%define cpan_name Devel-GlobalDestruction
Summary: Provides function returning the equivalent of
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Devel-GlobalDestruction/
Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Name: perl-Devel-GlobalDestruction
Version: 0.140.0
Release: 0
# 0.14 -> normalize -> 0.140.0
%define cpan_version 0.14
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Provides function returning the equivalent of ${^GLOBAL_PHASE} eq 'DESTR[cut]
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001011
Requires: perl(Sub::Exporter::Progressive) >= 0.001011
Provides: perl(Devel::GlobalDestruction) = %{version}
Provides: perl(ExtUtils::HasCompiler) = 0.16.0
%undefine __perllib_provides
%{perl_requires}
%description
@@ -46,14 +49,14 @@ For these constructors you can avoid the mess by simply bailing out if
global destruction is in effect.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -61,7 +64,6 @@ global destruction is in effect.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog