do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora

This commit is contained in:
Kamil Dudka 2018-03-14 12:15:49 +01:00
parent 85f9da5eb1
commit 280fac583e
2 changed files with 4 additions and 30 deletions

View File

@ -1,26 +0,0 @@
From 39f89cacbe7c6b88e9c79d2a20b396c5bcbe2e2e Mon Sep 17 00:00:00 2001
From: Kamil Dudka <kdudka@redhat.com>
Date: Tue, 18 Apr 2017 17:40:00 +0200
Subject: [PATCH] tests/option_constants_test.py: disable TLS-SRP test
... because the build of OpenSSL in Fedora does not support it
---
tests/option_constants_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py
index 8f3ce82..0aa648a 100644
--- a/tests/option_constants_test.py
+++ b/tests/option_constants_test.py
@@ -421,7 +421,7 @@ class OptionConstantsSettingTest(unittest.TestCase):
assert self.curl.PROTO_SMBS is not None
@util.min_libcurl(7, 21, 4)
- @util.only_ssl_backends('openssl', 'gnutls')
+ @util.only_ssl_backends('openssl-with-srp', 'gnutls')
def test_tlsauth(self):
self.curl.setopt(self.curl.TLSAUTH_TYPE, "SRP")
self.curl.setopt(self.curl.TLSAUTH_USERNAME, "test")
--
2.9.3

View File

@ -2,16 +2,13 @@
Name: python-%{modname}
Version: 7.43.0
Release: 14%{?dist}
Release: 15%{?dist}
Summary: A Python interface to libcurl
License: LGPLv2+ or MIT
URL: http://pycurl.sourceforge.net/
Source0: https://dl.bintray.com/pycurl/pycurl/pycurl-%{version}.tar.gz
# disable TLS-SRP test because TLS-SRP is not supported by OpenSSL in Fedora
Patch1: 0001-python-pycurl-7.43.0-openssl-srp.patch
# drop link-time vs. run-time TLS backend check (#1446850)
Patch2: 0002-python-pycurl-7.43.0-tls-backend.patch
@ -121,6 +118,9 @@ rm -fv tests/fake-curl/libcurl/*.so
%{python3_sitearch}/%{modname}-%{version}-*.egg-info
%changelog
* Wed Mar 14 2018 Kamil Dudka <kdudka@redhat.com> - 7.43.0-15
- do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora
* Mon Feb 19 2018 Kamil Dudka <kdudka@redhat.com> - 7.43.0-14
- add explicit BR for the gcc compiler