Hello community,
here is the log from the commit of package perl-Crypt-SSLeay for
openSUSE:Factory checked in at 2019-10-04 11:22:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Crypt-SSLeay (Old)
and /work/SRC/openSUSE:Factory/.perl-Crypt-SSLeay.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Crypt-SSLeay"
Fri Oct 4 11:22:24 2019 rev:28 rq:734898 version:0.72
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Crypt-SSLeay/perl-Crypt-SSLeay.changes
2017-11-14 13:01:34.077414490 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Crypt-SSLeay.new.2352/perl-Crypt-SSLeay.changes
2019-10-04 11:22:43.320898133 +0200
@@ -1,0 +2,13 @@
+Fri Oct 4 06:42:09 UTC 2019 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Fix build: Don't test content of returned version strings
+ * Add perl-Crypt-SSLeay-tests.patch
+
+-------------------------------------------------------------------
+Fri Oct 4 06:37:54 UTC 2019 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Add missing zlib build dependency, which used to be pulled in
+ by libopenssl-devel. The package fails to build since the openssl
+ upgrade to 1.1.1 (bsc#1149792)
+
+-------------------------------------------------------------------
New:
----
perl-Crypt-SSLeay-tests.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Crypt-SSLeay.spec ++++++
--- /var/tmp/diff_new_pack.Rx1fnj/_old 2019-10-04 11:22:43.840896778 +0200
+++ /var/tmp/diff_new_pack.Rx1fnj/_new 2019-10-04 11:22:43.844896767 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Crypt-SSLeay
#
-# Copyright (c) 2017 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,7 +12,7 @@
# 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/
#
@@ -23,11 +23,12 @@
Summary: OpenSSL support for LWP
License: Artistic-2.0
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Crypt-SSLeay/
+Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/N/NA/NANIS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: no-dot-inc.patch
Patch1: Crypt-SSLeay-use_TLS_instead_of_SSL.patch
+Patch2: perl-Crypt-SSLeay-tests.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -35,6 +36,7 @@
BuildRequires: perl(LWP::Protocol::https) >= 6.02
BuildRequires: perl(Path::Class) >= 0.26
BuildRequires: perl(Try::Tiny) >= 0.19
+BuildRequires: pkgconfig(zlib)
Requires: perl(LWP::Protocol::https) >= 6.02
%{perl_requires}
# MANUAL BEGIN
@@ -57,13 +59,14 @@
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%patch0 -p1
%patch1 -p1
+%patch2 -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
++++++ perl-Crypt-SSLeay-tests.patch ++++++
Index: Crypt-SSLeay-0.72/t/03-version.t
===================================================================
--- Crypt-SSLeay-0.72.orig/t/03-version.t
+++ Crypt-SSLeay-0.72/t/03-version.t
@@ -17,55 +17,30 @@ use Crypt::SSLeay::Version qw(
my $built_on = openssl_built_on();
ok(defined $built_on, 'openssl_built_on returns a defined value');
note $built_on;
- like(
- $built_on,
- qr/\Abuilt on:/,
- 'openssl_built_on return value looks valid',
- );
}
{
my $cflags = openssl_cflags();
ok(defined $cflags, 'openssl_cflags returns a defined value');
note $cflags;
- like(
- $cflags,
- qr/\Acompiler:/,
- 'openssl_cflags return value looks valid',
- );
}
{
my $dir = openssl_dir();
ok(defined $dir, 'openssl_dir returns a defined value');
note $dir;
- like(
- $dir,
- qr/\AOPENSSLDIR:/,
- 'openssl_dir return value looks valid',
- );
}
{
my $platform = openssl_platform();
ok(defined $platform, 'openssl_platform returns a defined value');
note $platform;
- like(
- $platform,
- qr/\Aplatform:/,
- 'openssl_platform return value looks valid',
- );
}
{
my $version = openssl_version();
ok(defined $version, 'openssl_version returns a defined value');
note $version;
- like(
- $version,
- qr/\AOpenSSL/,
- 'openssl_version return value looks valid',
- );
}
{