diff --git a/python-eventlet-FTBFS2028.patch b/python-eventlet-FTBFS2028.patch new file mode 100644 index 0000000..d110fda --- /dev/null +++ b/python-eventlet-FTBFS2028.patch @@ -0,0 +1,50 @@ +https://github.com/eventlet/eventlet/pull/643 + +From df6b965c1b03a688c643dc7f5845cb88287027d1 Mon Sep 17 00:00:00 2001 +From: "Bernhard M. Wiedemann" +Date: Fri, 28 Aug 2020 20:24:42 +0200 +Subject: [PATCH] Extend test cert to 2049 + +This change makes tests pass after 2028 +Background: +As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future. +The usual offset is +15 years, because that is how long I expect some software will be used in some places. +This showed up failing tests in our package build. + +See https://reproducible-builds.org/ for why this matters. +--- + tests/test_server.crt | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/tests/test_server.crt b/tests/test_server.crt +index 67c9adc8b..78759e810 100644 +--- a/tests/test_server.crt ++++ b/tests/test_server.crt +@@ -2,7 +2,7 @@ + MIIDwjCCAqqgAwIBAgIJAN19NW1oDKKtMA0GCSqGSIb3DQEBCwUAMHYxCzAJBgNV + BAYTAlRTMQ0wCwYDVQQIDARUZXN0MQ0wCwYDVQQHDARUZXN0MRYwFAYDVQQKDA1U + ZXN0IEV2ZW50bGV0MQ0wCwYDVQQLDARUZXN0MQ0wCwYDVQQDDARUZXN0MRMwEQYJ +-KoZIhvcNAQkBFgRUZXN0MB4XDTE4MDgyMjEzNDIxMVoXDTI4MDgxOTEzNDIxMVow ++KoZIhvcNAQkBFgRUZXN0MB4XDTIwMDgyODEzMTUxNloXDTQ5MTIzMTEzMTUxN1ow + djELMAkGA1UEBhMCVFMxDTALBgNVBAgMBFRlc3QxDTALBgNVBAcMBFRlc3QxFjAU + BgNVBAoMDVRlc3QgRXZlbnRsZXQxDTALBgNVBAsMBFRlc3QxDTALBgNVBAMMBFRl + c3QxEzARBgkqhkiG9w0BCQEWBFRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw +@@ -13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++XAW8Yf8H + -----END CERTIFICATE----- diff --git a/python-eventlet.changes b/python-eventlet.changes index f3d9a86..3c7b783 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 26 14:03:52 UTC 2021 - Bernhard Wiedemann + +- Add python-eventlet-FTBFS2028.patch to fix build in 2028 (boo#1102840) + ------------------------------------------------------------------- Thu Dec 16 20:11:12 UTC 2021 - Ben Greiner diff --git a/python-eventlet.spec b/python-eventlet.spec index f02e0fd..2932a40 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -31,6 +31,8 @@ Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventl Patch0: denose-eventlet.patch # PATCH-FIX-UPSTREAM newdnspython.patch mcepl@suse.com -- patch is from gh#rthalley/dnspython#519, discussion in gh#eventlet/eventlet#638 Patch1: newdnspython.patch +# PATCH-FIX-UPSTREAM https://github.com/eventlet/eventlet/pull/643 +Patch2: python-eventlet-FTBFS2028.patch BuildRequires: %{python_module setuptools} %if %{with python2} BuildRequires: python2-monotonic >= 1.4