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