Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Git-Repository for
openSUSE:Factory checked in at 2023-03-25 18:56:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Git-Repository (Old)
and /work/SRC/openSUSE:Factory/.perl-Git-Repository.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Git-Repository"
Sat Mar 25 18:56:08 2023 rev:5 rq:1074316 version:1.325
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Git-Repository/perl-Git-Repository.changes
2022-12-03 12:48:37.434150342 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Git-Repository.new.31432/perl-Git-Repository.changes
2023-03-25 18:56:33.119038918 +0100
@@ -1,0 +2,5 @@
+Sat Mar 25 11:27:20 UTC 2023 - Dirk Stoecker <[email protected]>
+
+- add patch git-2.40.0.patch to adapt to git 2.40 changes
+
+-------------------------------------------------------------------
@@ -642 +646,0 @@
-
New:
----
git-2.40.0.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Git-Repository.spec ++++++
--- /var/tmp/diff_new_pack.3zbltO/_old 2023-03-25 18:56:33.627041573 +0100
+++ /var/tmp/diff_new_pack.3zbltO/_new 2023-03-25 18:56:33.635041616 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Git-Repository
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,12 @@
URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
+# PATCH-FIX-UPSTREAM https://github.com/book/Git-Repository/pull/23
+Patch0: git-2.40.0.patch
# PATCH-FIX-UPSTREAM https://github.com/book/Git-Repository/pull/22
-Patch0:
https://patch-diff.githubusercontent.com/raw/book/Git-Repository/pull/22.patch
+Patch1:
https://patch-diff.githubusercontent.com/raw/book/Git-Repository/pull/22.patch
# PATCH-FIX-UPSTREAM
https://rt.cpan.org/Public/Ticket/Attachment/1923740/1029935
-Patch1:
https://salsa.debian.org/perl-team/modules/packages/libgit-repository-perl/-/raw/c5e0eca06ca27fdaa547634b1e49f4637e7c1ca6/debian/patches/git-2.30.0.patch
+Patch2:
https://salsa.debian.org/perl-team/modules/packages/libgit-repository-perl/-/raw/c5e0eca06ca27fdaa547634b1e49f4637e7c1ca6/debian/patches/git-2.30.0.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -72,6 +74,7 @@
%prep
%autosetup -n %{cpan_name}-%{version} -p1
+
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.3zbltO/_old 2023-03-25 18:56:33.667041782 +0100
+++ /var/tmp/diff_new_pack.3zbltO/_new 2023-03-25 18:56:33.671041803 +0100
@@ -7,6 +7,7 @@
patches:
https://salsa.debian.org/perl-team/modules/packages/libgit-repository-perl/-/raw/c5e0eca06ca27fdaa547634b1e49f4637e7c1ca6/debian/patches/git-2.30.0.patch:
-p1 PATCH-FIX-UPSTREAM
https://rt.cpan.org/Public/Ticket/Attachment/1923740/1029935
https://patch-diff.githubusercontent.com/raw/book/Git-Repository/pull/22.patch:
-p1 PATCH-FIX-UPSTREAM https://github.com/book/Git-Repository/pull/22
+ git-2.40.0.patch: -p1 PATCH-FIX-UPSTREAM
https://github.com/book/Git-Repository/pull/23
preamble: |-
BuildRequires: git-core
#post_prep: |-
++++++ git-2.40.0.patch ++++++
--- a/t/20-simple.t
+++ b/t/20-simple.t
@@ -85,6 +85,9 @@
skip "this test does not work with msysgit on Win32", 2
if $^O eq 'MSWin32';
+ skip "'git var GIT_EDITOR' behaviour was changed in git 2.40.0, and we
have $version", 2
+ if Git::Repository->version_ge('2.40.0');
+
ok( !eval { $r->run( var => 'GIT_EDITOR' ); 1; }, 'git var GIT_EDITOR' );
like(
$@,