Hello community,

here is the log from the commit of package perl-Perl-Critic-Pulp for 
openSUSE:Factory checked in at 2019-04-03 10:51:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Perl-Critic-Pulp (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Perl-Critic-Pulp.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Perl-Critic-Pulp"

Wed Apr  3 10:51:37 2019 rev:6 rq:690874 version:96

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Perl-Critic-Pulp/perl-Perl-Critic-Pulp.changes  
    2018-02-09 15:47:21.179807129 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Perl-Critic-Pulp.new.25356/perl-Perl-Critic-Pulp.changes
   2019-04-03 10:51:41.253936184 +0200
@@ -1,0 +2,5 @@
+Wed Apr  3 07:35:19 UTC 2019 - Stephan Kulow <[email protected]>
+
+- add avoid-wrong-provides.diff to avoid wrong provides
+
+-------------------------------------------------------------------

New:
----
  avoid-wrong-provides.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Perl-Critic-Pulp.spec ++++++
--- /var/tmp/diff_new_pack.QOmUgg/_old  2019-04-03 10:51:43.141936691 +0200
+++ /var/tmp/diff_new_pack.QOmUgg/_new  2019-04-03 10:51:43.181936701 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Perl-Critic-Pulp
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,21 +12,22 @@
 # 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/
 #
 
 
 Name:           perl-Perl-Critic-Pulp
 Version:        96
 Release:        0
-#Upstream: GPL-1.0+
+#Upstream: GPL-1.0-or-later
 %define cpan_name Perl-Critic-Pulp
-Summary:        Some Add-On Perlcritic Policies
-License:        GPL-3.0+
+Summary:        Some add-on perlcritic policies
+License:        GPL-3.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Perl-Critic-Pulp/
+Url:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/K/KR/KRYDE/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+Patch0:         avoid-wrong-provides.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -66,13 +67,14 @@
 %prep
 %setup -q -n %{cpan_name}-%{version}
 find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ avoid-wrong-provides.diff ++++++
Index: 
Perl-Critic-Pulp-96/lib/Perl/Critic/Policy/Compatibility/PerlMinimumVersionAndWhy.pm
===================================================================
--- 
Perl-Critic-Pulp-96.orig/lib/Perl/Critic/Policy/Compatibility/PerlMinimumVersionAndWhy.pm
+++ 
Perl-Critic-Pulp-96/lib/Perl/Critic/Policy/Compatibility/PerlMinimumVersionAndWhy.pm
@@ -189,7 +189,8 @@ sub _setup_extra_checks {
   # Perl::MinimumVersion prior to 1.28 had 'PPI::Token::Operator' and
   # 'PPI::Token::Magic' swapped between the respective operator/magic tests
 
-  package Perl::MinimumVersion;
+  package 
+    Perl::MinimumVersion;
   use vars qw(%MATCHES);
   sub _Pulp__5010_operators__fix {
     shift->Document->find_first
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.QOmUgg/_old  2019-04-03 10:51:43.289936730 +0200
+++ /var/tmp/diff_new_pack.QOmUgg/_new  2019-04-03 10:51:43.289936730 +0200
@@ -7,9 +7,8 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
-#  foo.patch: -p1
-#  bar.patch:
+patches:
+  avoid-wrong-provides.diff: -p1
 #preamble: |-
 # BuildRequires:  gcc-c++
 #post_prep: |-


Reply via email to