Hello community,
here is the log from the commit of package perl-MooseX-AuthorizedMethods for
openSUSE:Factory checked in at 2017-10-03 23:19:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MooseX-AuthorizedMethods (Old)
and /work/SRC/openSUSE:Factory/.perl-MooseX-AuthorizedMethods.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-AuthorizedMethods"
Tue Oct 3 23:19:21 2017 rev:6 rq:530773 version:0.006
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-MooseX-AuthorizedMethods/perl-MooseX-AuthorizedMethods.changes
2012-01-04 07:27:07.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-MooseX-AuthorizedMethods.new/perl-MooseX-AuthorizedMethods.changes
2017-10-03 23:19:22.768732987 +0200
@@ -1,0 +2,5 @@
+Tue Oct 3 08:16:54 UTC 2017 - [email protected]
+
+- patch the Makefile to build with perl 5.26
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MooseX-AuthorizedMethods.spec ++++++
--- /var/tmp/diff_new_pack.IJNa0V/_old 2017-10-03 23:19:23.524626608 +0200
+++ /var/tmp/diff_new_pack.IJNa0V/_new 2017-10-03 23:19:23.524626608 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-MooseX-AuthorizedMethods
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: perl-MooseX-AuthorizedMethods
Version: 0.006
Release: 0
@@ -23,34 +24,16 @@
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MooseX-AuthorizedMethods/
-Source:
http://www.cpan.org/authors/id/D/DR/DRUOSO/%{cpan_name}-%{version}.tar.gz
+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(Moose) >= 1.21
BuildRequires: perl(aliased)
-#BuildRequires: perl(CPANPLUS::Backend)
-#BuildRequires: perl(inc::Module::Install) >= 0.91
-#BuildRequires: perl(JSON)
-#BuildRequires: perl(LWP::Simple)
-#BuildRequires: perl(Module::AutoInstall)
-#BuildRequires: perl(Module::Build)
-#BuildRequires: perl(Module::Install::Base)
-#BuildRequires: perl(Moose::Exporter)
-#BuildRequires: perl(Moose::Role)
-#BuildRequires: perl(Moose::Util::MetaRole)
-#BuildRequires: perl(Moose::Util::TypeConstraints)
-#BuildRequires: perl(MooseX::AuthorizedMethods)
-#BuildRequires: perl(MooseX::Meta::Method::Authorized)
-#BuildRequires: perl(MooseX::Meta::Method::Authorized::Meta::Role)
-#BuildRequires: perl(OtherRole)
-#BuildRequires: perl(Parse::CPAN::Meta)
-#BuildRequires: perl(Sub::Name)
-#BuildRequires: perl(Test::Moose)
-#BuildRequires: perl(YAML::Tiny)
-Requires: perl(aliased)
Requires: perl(Moose) >= 1.21
+Requires: perl(aliased)
%{perl_requires}
%description
@@ -61,6 +44,9 @@
%prep
%setup -q -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
++++++ cpanspec.yml ++++++
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL