From b02abbbf1c464ddf7a45611264718738ba048804ffc1cbacae641667b9fc2cff Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 26 Apr 2021 10:07:18 +0000 Subject: [PATCH] - Remove unnecessary %ifpython3 construct OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=136 --- python-cryptography.changes | 5 +++++ python-cryptography.spec | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/python-cryptography.changes b/python-cryptography.changes index 0f56907..2642d0f 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 26 10:07:08 UTC 2021 - Matej Cepl + +- Remove unnecessary %ifpython3 construct + ------------------------------------------------------------------- Sun Feb 7 20:11:11 UTC 2021 - Michael Ströder diff --git a/python-cryptography.spec b/python-cryptography.spec index 54d5303..b118584 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -65,13 +65,10 @@ BuildRequires: %{python_module pyasn1 >= 0.1.8} BuildRequires: %{python_module pytest > 3.3.0} # /SECTION # python-base is not enough, we need the _ssl module +Requires: python %ifpython2 Requires: python-enum34 Requires: python-ipaddress -Requires: python2 -%endif -%ifpython3 -Requires: python3 %endif %python_subpackages