Dominique Leuenberger 2021-10-20 18:22:50 +00:00 committed by Git OBS Bridge
commit 448cc36207
4 changed files with 24 additions and 17 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Oct 11 03:06:02 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.25
see /usr/share/doc/packages/perl-B-Hooks-EndOfScope/Changes
0.25 2021-10-10 19:34:55Z
- add test of dieing inside an on_scope_end() (PR#8)
-------------------------------------------------------------------
Sun Apr 22 05:04:26 UTC 2018 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-B-Hooks-EndOfScope
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,22 +12,20 @@
# 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-B-Hooks-EndOfScope
Version: 0.24
Release: 0
%define cpan_name B-Hooks-EndOfScope
Name: perl-B-Hooks-EndOfScope
Version: 0.25
Release: 0
Summary: Execute code after a scope finished compilation
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/B-Hooks-EndOfScope/
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Hash::Util::FieldHash)
@ -46,14 +44,14 @@ This module allows you to execute code when perl finished compiling the
surrounding scope.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%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 +59,7 @@ surrounding scope.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING LICENCE README
%doc Changes CONTRIBUTING README
%license LICENCE
%changelog