From 4c6488bfb2da1f909692852ae5d093ea3ff2c177 Mon Sep 17 00:00:00 2001 From: coolo <> Date: Aug 01 2022 20:18:36 +0000 Subject: Update perl-Role-Hooks to version 0.008 / rev 1 via SR 991938 https://build.opensuse.org/request/show/991938 by user coolo + RBrownFactory new dep for Sub::HandlesVia --- diff --git a/.files b/.files new file mode 100644 index 0000000..3b07359 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..2c3e967 --- /dev/null +++ b/.meta @@ -0,0 +1,6 @@ + + role callbacks + This module allows a role to run a callback when it is applied to a class or to another role. + + https://metacpan.org/pod/Role::Hooks + diff --git a/.rev b/.rev new file mode 100644 index 0000000..4d7f134 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + f2ef8caf2048fd9cb13c4b14a77a550f + 0.008 + + RBrownFactory + new dep for Sub::HandlesVia + 991938 + + diff --git a/Role-Hooks-0.008.tar.gz b/Role-Hooks-0.008.tar.gz new file mode 120000 index 0000000..ad2a078 --- /dev/null +++ b/Role-Hooks-0.008.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreibi2zxkbkg4gbvxnwud74ehssj5qchxggc3z6oe5u3s6okg7nkd5q \ No newline at end of file diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..5f5b4ce --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-Role-Hooks.changes b/perl-Role-Hooks.changes new file mode 100644 index 0000000..b40b7c8 --- /dev/null +++ b/perl-Role-Hooks.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jul 11 11:30:42 UTC 2022 - Tina Müller + +- Initial submission diff --git a/perl-Role-Hooks.spec b/perl-Role-Hooks.spec new file mode 100644 index 0000000..766bc3b --- /dev/null +++ b/perl-Role-Hooks.spec @@ -0,0 +1,62 @@ +# +# spec file for package perl-Role-Hooks +# +# Copyright (c) 2022 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 Role-Hooks +Name: perl-Role-Hooks +Version: 0.008 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Role callbacks +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Class::Method::Modifiers) +BuildRequires: perl(List::Util) >= 1.45 +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Requires) +Requires: perl(Class::Method::Modifiers) +Requires: perl(List::Util) >= 1.45 +%{perl_requires} + +%description +This module allows a role to run a callback when it is applied to a class +or to another role. + +%prep +%autosetup -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes COPYRIGHT CREDITS doap.ttl README +%license LICENSE + +%changelog