Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-MooseX-AuthorizedMethods for
openSUSE:Factory checked in at 2023-03-22 22:31:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MooseX-AuthorizedMethods (Old)
and /work/SRC/openSUSE:Factory/.perl-MooseX-AuthorizedMethods.new.31432
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-AuthorizedMethods"
Wed Mar 22 22:31:01 2023 rev:7 rq:1073694 version:0.006
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-MooseX-AuthorizedMethods/perl-MooseX-AuthorizedMethods.changes
2017-10-03 23:19:22.768732987 +0200
+++
/work/SRC/openSUSE:Factory/.perl-MooseX-AuthorizedMethods.new.31432/perl-MooseX-AuthorizedMethods.changes
2023-03-22 22:31:48.610545894 +0100
@@ -1,0 +2,5 @@
+Wed Mar 22 07:25:43 UTC 2023 - Dirk Stoecker <[email protected]>
+
+- add missing build require Sub::Name
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MooseX-AuthorizedMethods.spec ++++++
--- /var/tmp/diff_new_pack.uxgrA2/_old 2023-03-22 22:31:49.010547907 +0100
+++ /var/tmp/diff_new_pack.uxgrA2/_new 2023-03-22 22:31:49.018547948 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-MooseX-AuthorizedMethods
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,31 @@
# 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/
#
+%define cpan_name MooseX-AuthorizedMethods
Name: perl-MooseX-AuthorizedMethods
Version: 0.006
Release: 0
-%define cpan_name MooseX-AuthorizedMethods
+License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Syntax sugar for authorized methods
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/MooseX-AuthorizedMethods/
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/D/DR/DRUOSO/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Moose) >= 1.21
BuildRequires: perl(aliased)
Requires: perl(Moose) >= 1.21
Requires: perl(aliased)
%{perl_requires}
+# MANUAL BEGIN
+BuildRequires: perl(Sub::Name)
+# MANUAL END
%description
This method exports the "authorized" declarator that makes a verification
@@ -43,17 +45,18 @@
"roles" to list the roles given to that user.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
+
# MANUAL BEGIN
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL
# MANUAL END
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -61,7 +64,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc README
%changelog
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.uxgrA2/_old 2023-03-22 22:31:49.054548129 +0100
+++ /var/tmp/diff_new_pack.uxgrA2/_new 2023-03-22 22:31:49.058548149 +0100
@@ -1,4 +1,35 @@
---
-post_prep:
+#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: perl(Sub::Name)
+post_prep: |-
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' 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