forked from perl/perl-Perl-Critic-Pulp
- add avoid-wrong-provides.diff to avoid wrong provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-Critic-Pulp?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
782c8c6dfd
commit
4c51071bf4
14
avoid-wrong-provides.diff
Normal file
14
avoid-wrong-provides.diff
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
@@ -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: |-
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 07:35:19 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- add avoid-wrong-provides.diff to avoid wrong provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 17:07:22 UTC 2018 - coolo@suse.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user