Hello community, here is the log from the commit of package perl-MooseX-HasDefaults for openSUSE:Factory checked in at 2017-10-03 23:19:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MooseX-HasDefaults (Old) and /work/SRC/openSUSE:Factory/.perl-MooseX-HasDefaults.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-HasDefaults" Tue Oct 3 23:19:23 2017 rev:2 rq:530774 version:0.03 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MooseX-HasDefaults/perl-MooseX-HasDefaults.changes 2016-02-17 12:20:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-MooseX-HasDefaults.new/perl-MooseX-HasDefaults.changes 2017-10-03 23:19:24.452496027 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:17:08 UTC 2017 - co...@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MooseX-HasDefaults.spec ++++++ --- /var/tmp/diff_new_pack.Wrx82c/_old 2017-10-03 23:19:25.384364883 +0200 +++ /var/tmp/diff_new_pack.Wrx82c/_new 2017-10-03 23:19:25.400362632 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-MooseX-HasDefaults # -# Copyright (c) 2014 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 @@ -20,44 +20,34 @@ Version: 0.03 Release: 0 %define cpan_name MooseX-HasDefaults -Summary: Default "is" to "ro" or "rw" for all attributes +Summary: Default "Is" to "Ro" or "Rw" for All Attributes License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MooseX-HasDefaults/ -Source: http://www.cpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Moose) >= 0.94 BuildRequires: perl(Test::Exception) -#BuildRequires: perl(inc::Module::Install) -#BuildRequires: perl(JSON) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(Module::Install::Base) -#BuildRequires: perl(Moose::Exporter) -#BuildRequires: perl(Moose::Role) -#BuildRequires: perl(Moose::Util::MetaRole) -#BuildRequires: perl(MooseX::HasDefaults::Meta::IsRO) -#BuildRequires: perl(MooseX::HasDefaults::Meta::IsRW) -#BuildRequires: perl(MooseX::HasDefaults::RO) -#BuildRequires: perl(MooseX::HasDefaults::RW) -#BuildRequires: perl(Parse::CPAN::Meta) -#BuildRequires: perl(YAML::Tiny) Requires: perl(Moose) >= 0.94 %{perl_requires} %description -The module the MooseX::HasDefaults::RO manpage defaults 'is' to 'ro'. +The module MooseX::HasDefaults::RO defaults 'is' to 'ro'. -The module the MooseX::HasDefaults::RW manpage defaults 'is' to 'rw'. +The module MooseX::HasDefaults::RW defaults 'is' to 'rw'. If you pass a specific value to any 'has''s 'is', that overrides the default. If you do not want an accessor, pass 'is => undef'. %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