Hello community, here is the log from the commit of package perl-MouseX-Types for openSUSE:Factory checked in at 2017-10-03 23:19:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MouseX-Types (Old) and /work/SRC/openSUSE:Factory/.perl-MouseX-Types.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MouseX-Types" Tue Oct 3 23:19:39 2017 rev:10 rq:530782 version:0.06 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MouseX-Types/perl-MouseX-Types.changes 2011-11-21 12:43:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-MouseX-Types.new/perl-MouseX-Types.changes 2017-10-03 23:19:40.754201851 +0200 @@ -1,0 +2,5 @@ +Tue Oct 3 08:19:01 UTC 2017 - co...@suse.com + +- patch the Makefile to build with perl 5.26 + +------------------------------------------------------------------- New: ---- cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MouseX-Types.spec ++++++ --- /var/tmp/diff_new_pack.n0D5Q0/_old 2017-10-03 23:19:41.310123615 +0200 +++ /var/tmp/diff_new_pack.n0D5Q0/_new 2017-10-03 23:19:41.310123615 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-MouseX-Types # -# 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 @@ -16,16 +16,16 @@ # - Name: perl-MouseX-Types Version: 0.06 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Release: 0 %define cpan_name MouseX-Types Summary: Organize your Mouse types in libraries -Url: http://search.cpan.org/dist/MouseX-Types/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/MouseX-Types/ +Source0: https://cpan.metacpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -33,27 +33,6 @@ BuildRequires: perl(Any::Moose) >= 0.15 BuildRequires: perl(Mouse) >= 0.77 BuildRequires: perl(Test::Exception) -#BuildRequires: perl(DecoratorLibrary) -#BuildRequires: perl(inc::Module::Install) -#BuildRequires: perl(IntrospectTypeExports) -#BuildRequires: perl(JSON) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(Module::Install::Base) -#BuildRequires: perl(Mouse::Exporter) -#BuildRequires: perl(Mouse::Util::TypeConstraints) -#BuildRequires: perl(MouseX::Types) -#BuildRequires: perl(MouseX::Types::Mouse) -#BuildRequires: perl(MouseX::Types::Wrapper) -#BuildRequires: perl(Parse::CPAN::Meta) -#BuildRequires: perl(Sub::Exporter) -#BuildRequires: perl(SubExporterCompatibility) -#BuildRequires: perl(TestLibrary) -#BuildRequires: perl(TestNamespaceSep) -#BuildRequires: perl(Test::Perl::Critic) -#BuildRequires: perl(TestWrapper) -#BuildRequires: perl(X::Types::Combine) -#BuildRequires: perl(YAML::Tiny) Requires: perl(Any::Moose) >= 0.15 Requires: perl(Mouse) >= 0.77 %{perl_requires} @@ -63,7 +42,10 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +# 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