Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Protocol-HTTP2 for 
openSUSE:Factory checked in at 2023-05-10 16:16:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Protocol-HTTP2 (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Protocol-HTTP2.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Protocol-HTTP2"

Wed May 10 16:16:41 2023 rev:2 rq:1085707 version:1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Protocol-HTTP2/perl-Protocol-HTTP2.changes  
2020-11-29 12:29:34.438071706 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Protocol-HTTP2.new.1533/perl-Protocol-HTTP2.changes
        2023-05-10 16:16:42.966332866 +0200
@@ -1,0 +2,11 @@
+Tue May  9 12:28:36 UTC 2023 - Dirk Stoecker <[email protected]>
+
+- refresh package, Update cpanspec.yml
+
+-------------------------------------------------------------------
+Thu May  4 13:11:57 UTC 2023 - Otto Hollmann <[email protected]>
+
+- Adapt tests for OpenSSL 3.1 [bsc#1209430]
+  * Add openssl3_1-adapt_tests.patch
+
+-------------------------------------------------------------------

New:
----
  openssl3_1-adapt_tests.patch

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

Other differences:
------------------
++++++ perl-Protocol-HTTP2.spec ++++++
--- /var/tmp/diff_new_pack.48Gf8p/_old  2023-05-10 16:16:44.118339681 +0200
+++ /var/tmp/diff_new_pack.48Gf8p/_new  2023-05-10 16:16:44.162339941 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Protocol-HTTP2
 #
-# Copyright (c) 2020 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
@@ -16,18 +16,18 @@
 #
 
 
+%define cpan_name Protocol-HTTP2
 Name:           perl-Protocol-HTTP2
 Version:        1.10
 Release:        0
-%define cpan_name Protocol-HTTP2
-Summary:        HTTP/2 protocol implementation (RFC 7540)
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
+Summary:        HTTP/2 protocol implementation (RFC 7540)
 URL:            https://metacpan.org/release/%{cpan_name}
-Source0:        Protocol-HTTP2-1.10.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/C/CR/CRUX/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+# PATCH-FIX-OPENSUSE https://github.com/vlet/p5-Protocol-HTTP2/pull/14
+Patch0:         openssl3_1-adapt_tests.patch
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(AnyEvent)
@@ -48,7 +48,7 @@
 tls socket (see examples).
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version} -p1
 
 %build
 perl Build.PL --installdirs=vendor
@@ -62,7 +62,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes examples README.md
 %license LICENSE
 

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.48Gf8p/_old  2023-05-10 16:16:44.330340935 +0200
+++ /var/tmp/diff_new_pack.48Gf8p/_new  2023-05-10 16:16:44.330340935 +0200
@@ -7,8 +7,8 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
-#  foo.patch: -p1
+patches:
+  openssl3_1-adapt_tests.patch: -p1 PATCH-FIX-OPENSUSE 
https://github.com/vlet/p5-Protocol-HTTP2/pull/14
 #  bar.patch:
 #preamble: |-
 # BuildRequires:  gcc-c++

++++++ openssl3_1-adapt_tests.patch ++++++
>From 552e3677372c77ec458548fd8c3fdc280e493d91 Mon Sep 17 00:00:00 2001
From: Otto Hollmann <[email protected]>
Date: Thu, 4 May 2023 13:42:51 +0200
Subject: [PATCH] Adapt tests for OpenSSL 3.1

---
 t/lib/PH2ClientServerTest.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/lib/PH2ClientServerTest.pm b/t/lib/PH2ClientServerTest.pm
index 3fe9203..fe90f32 100644
--- a/t/lib/PH2ClientServerTest.pm
+++ b/t/lib/PH2ClientServerTest.pm
@@ -43,7 +43,7 @@ sub server {
         if ( !$h{upgrade} && ( $h{npn} || $h{alpn} ) ) {
             eval {
                 $tls = AnyEvent::TLS->new(
-                    method    => 'tlsv1',
+                    method    => 'tlsv1_2',
                     cert_file => $tls_crt,
                     key_file  => $tls_key,
                 );
@@ -122,7 +122,7 @@ sub client {
     }
     elsif ( $h{npn} || $h{alpn} ) {
         eval {
-            $tls = AnyEvent::TLS->new( method => 'tlsv1', );
+            $tls = AnyEvent::TLS->new( method => 'tlsv1_2', );
 
             if ( delete $h{npn} ) {
 

Reply via email to