Accepting request 1031200 from devel:languages:python

- Remove unnecessary code for building with Python 2.

OBS-URL: https://build.opensuse.org/request/show/1031200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pickleshare?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-10-27 11:52:13 +00:00 committed by Git OBS Bridge
commit 320a043669
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 25 19:48:06 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Remove unnecessary code for building with Python 2.
-------------------------------------------------------------------
Sat Mar 14 07:54:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -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