Ana Guerrero 2024-04-07 20:04:36 +00:00 committed by Git OBS Bridge
commit ff331dee1a
4 changed files with 28 additions and 7 deletions

BIN
B-Hooks-EndOfScope-0.26.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edac77a17fc36620c8324cc194ce1fad2f02e9fcbe72d08ad0b2c47f0c7fd8ef
size 40151

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Mar 1 03:06:14 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.28
see /usr/share/doc/packages/perl-B-Hooks-EndOfScope/Changes
0.28 2024-03-01 00:10:15Z
- revert Variable::Magic->Variable::OnDestruct change; Variable::Magic will
start working again in perl 5.39.9. (Graham Knop, PR#10)
0.27 2024-02-27 23:48:24Z
- switched from Variable::Magic to Variable::OnDestruct in the XS
implementation (Graham Knop, PR#9)
- add optional prereqs to metadata to help prereq analysis tools (RT#151992)
-------------------------------------------------------------------
Tue Feb 22 03:06:08 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-B-Hooks-EndOfScope
#
# Copyright (c) 2022 SUSE LLC
# 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
@ -18,12 +18,14 @@
%define cpan_name B-Hooks-EndOfScope
Name: perl-B-Hooks-EndOfScope
Version: 0.26
Version: 0.280.0
Release: 0
# 0.28 -> normalize -> 0.280.0
%define cpan_version 0.28
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Execute code after a scope finished compilation
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@ -37,6 +39,10 @@ Requires: perl(Hash::Util::FieldHash)
Requires: perl(Module::Implementation) >= 0.05
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
Requires: perl(Variable::Magic) >= 0.48
Provides: perl(B::Hooks::EndOfScope) = %{version}
Provides: perl(B::Hooks::EndOfScope::PP) = %{version}
Provides: perl(B::Hooks::EndOfScope::XS) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@ -44,7 +50,7 @@ This module allows you to execute code when perl finished compiling the
surrounding scope.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor