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 2021-02-19 23:44:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Git-Repository (Old)
and /work/SRC/openSUSE:Factory/.perl-Git-Repository.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Git-Repository"
Fri Feb 19 23:44:59 2021 rev:2 rq:873662 version:1.324
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Git-Repository/perl-Git-Repository.changes
2020-07-30 15:46:56.177896532 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Git-Repository.new.28504/perl-Git-Repository.changes
2021-02-19 23:45:41.335388310 +0100
@@ -1,0 +2,5 @@
+Fri Feb 19 08:16:19 UTC 2021 - Dirk Stoecker <[email protected]>
+
+- fix build issues with git 2.30 (git-2.30.0.patch)
+
+-------------------------------------------------------------------
New:
----
git-2.30.0.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Git-Repository.spec ++++++
--- /var/tmp/diff_new_pack.V7xckN/_old 2021-02-19 23:45:42.115389075 +0100
+++ /var/tmp/diff_new_pack.V7xckN/_new 2021-02-19 23:45:42.119389079 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Git-Repository
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,18 @@
#
+%define cpan_name Git-Repository
Name: perl-Git-Repository
Version: 1.324
Release: 0
-%define cpan_name Git-Repository
Summary: Perl interface to Git repositories
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+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://rt.cpan.org/Public/Ticket/Attachment/1923740/1029935
+Patch0:
https://salsa.debian.org/perl-team/modules/packages/libgit-repository-perl/-/raw/c5e0eca06ca27fdaa547634b1e49f4637e7c1ca6/debian/patches/git-2.30.0.patch
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Git::Version::Compare) >= 1.001
@@ -69,12 +69,12 @@
See Git::Repository::Tutorial for more code examples.
%prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%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
perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
%check
make test
@@ -85,7 +85,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.V7xckN/_old 2021-02-19 23:45:42.191389150 +0100
+++ /var/tmp/diff_new_pack.V7xckN/_new 2021-02-19 23:45:42.195389154 +0100
@@ -4,9 +4,8 @@
#sources:
# - source1
# - source2
-#patches:
-# foo.patch: -p1
-# bar.patch:
+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
preamble: |-
BuildRequires: git-core
#post_prep: |-
++++++ git-2.30.0.patch ++++++
Description: Add workaround for Git v2.30.0
which emits hints about a future change of the default branch name,
which cause the tests for no warnings to fail.
Origin: vendor
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=133951
Bug-Debian: https://bugs.debian.org/978325
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=133951
Author: gregor herrmann <[email protected]>
Last-Update: 2021-01-01
--- a/t/24-errors.t
+++ b/t/24-errors.t
@@ -57,7 +57,7 @@
my @tests = (
# empty repository
- { test_repo => [],
+ { test_repo => [ init => [ qw/--initial-branch master/ ] ],
cmd => [qw( log -1 )],
exit => 128,
dollar_at => qr/^fatal: (?:bad default revision 'HEAD' |your current
branch 'master' does not have any commits yet)/,
@@ -142,7 +142,7 @@
# setup a repo with some 'fatal' options
# and override them in the call to run()
- { test_repo => [ git => { fatal => [ 1 .. 255 ] } ],
+ { test_repo => [ git => { fatal => [ 1 .. 255 ] }, init => [
qw/--initial-branch master/ ] ],
cmd => [ exit => 125, { git => $exit } ],
exit => 125,
dollar_at => qr/^fatal: unknown git error/,
@@ -157,7 +157,7 @@
push @tests, (
# FATALITY
- { test_repo => [ git => { fatal => [ 0 .. 255 ] } ],
+ { test_repo => [ git => { fatal => [ 0 .. 255 ] }, init => [
qw/--initial-branch master/ ] ],
cmd => ['version'],
exit => 0,
dollar_at => qr/^fatal: unknown git error/,
@@ -172,12 +172,12 @@
push @tests, (
# "!0" is a shortcut for 1..255
- { test_repo => [],
+ { test_repo => [ init => [ qw/--initial-branch master/ ] ],
cmd => [ exit => 140, { git => $exit, fatal => '!0' } ],
exit => 140,
dollar_at => qr/^fatal: unknown git error/,
},
- { test_repo => [ git => { fatal => '!0' } ],
+ { test_repo => [ git => { fatal => '!0' }, init => [ qw/--initial-branch
master/ ] ],
cmd => [ exit => 141, { git => $exit } ],
exit => 141,
dollar_at => qr/^fatal: unknown git error/,