Hello community,
here is the log from the commit of package perl-Module-Depends for
openSUSE:Factory checked in at 2017-10-18 16:16:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Depends (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Depends.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Depends"
Wed Oct 18 16:16:34 2017 rev:8 rq:534619 version:0.16
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Depends/perl-Module-Depends.changes
2013-06-07 07:03:07.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Module-Depends.new/perl-Module-Depends.changes
2017-10-18 16:16:35.548435420 +0200
@@ -1,0 +2,5 @@
+Wed Oct 18 04:34:38 UTC 2017 - [email protected]
+
+- add left-brace.patch to fix build with perl 5.26
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
left-brace.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Depends.spec ++++++
--- /var/tmp/diff_new_pack.ZF3tIx/_old 2017-10-18 16:16:36.140407722 +0200
+++ /var/tmp/diff_new_pack.ZF3tIx/_new 2017-10-18 16:16:36.144407535 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Depends
#
-# Copyright (c) 2013 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,21 +20,20 @@
Version: 0.16
Release: 0
%define cpan_name Module-Depends
-Summary: identify the dependencies of a distribution
+Summary: Identify the Dependencies of a Distribution
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Depends/
-Source:
http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+Patch0: left-brace.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Chained)
-BuildRequires: perl(Module::Build) >= 0.3600
+BuildRequires: perl(Module::Build) >= 0.360000
BuildRequires: perl(Parse::CPAN::Meta)
-#BuildRequires: perl(inc::Module::Install) >= 0.67
-#BuildRequires: perl(Inline::MakeMaker)
-#BuildRequires: perl(Module::Depends)
Requires: perl(Class::Accessor::Chained)
Requires: perl(Parse::CPAN::Meta)
%{perl_requires}
@@ -50,7 +49,8 @@
%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
+%patch0 -p1
%build
%{__perl} Build.PL installdirs=vendor
++++++ cpanspec.yml ++++++
---
patches:
left-brace.patch: -p1
++++++ left-brace.patch ++++++
Index: Module-Depends-0.16/t/depends.t
===================================================================
--- Module-Depends-0.16.orig/t/depends.t
+++ Module-Depends-0.16/t/depends.t
@@ -44,7 +44,7 @@ like(
$notthere->dist_dir('t/empty')->find_modules;
like(
$notthere->error,
- qr{^No {Build,Makefile}.PL found },
+ qr/^No \{Build,Makefile\}.PL found /,
"fails on empty dir"
);