From b9ea3d09f2814c3387d8337c1551c5dd762054fa0812c32b8d7b55a10b256d09 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 25 Oct 2022 19:48:36 +0000 Subject: [PATCH] - Remove unnecessary code for building with Python 2. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pickleshare?expand=0&rev=11 --- python-pickleshare.changes | 5 +++++ python-pickleshare.spec | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/python-pickleshare.changes b/python-pickleshare.changes index 0298840..92362df 100644 --- a/python-pickleshare.changes +++ b/python-pickleshare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 25 19:48:06 UTC 2022 - Matej Cepl + +- Remove unnecessary code for building with Python 2. + ------------------------------------------------------------------- Sat Mar 14 07:54:17 UTC 2020 - Tomáš Chvátal diff --git a/python-pickleshare.spec b/python-pickleshare.spec index a699e21..475482e 100644 --- a/python-pickleshare.spec +++ b/python-pickleshare.spec @@ -1,7 +1,7 @@ # # spec file for package python-pickleshare # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 Name: python-pickleshare Version: 0.7.5 Release: 0 @@ -30,12 +28,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%if %{with python2} -BuildRequires: python-pathlib2 -%endif -%ifpython2 -Requires: python-pathlib2 -%endif %python_subpackages %description