Accepting request 893292 from home:bnavigator:branches:devel:languages:python:pytest

- Don't build two identical packages python{3,38}-pytest-cookies

OBS-URL: https://build.opensuse.org/request/show/893292
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=5
This commit is contained in:
2021-05-15 20:52:56 +00:00
committed by Git OBS Bridge
parent ab986c01c4
commit 087ea01d98
2 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-cookies
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if %{?python3_version_nodots} == 38
%define pythons python3 python38
%else
%{?!python_module:%define python_module() python3-%{**}}
# cookiecutter is only available for python3
%define pythons python3
%endif
Name: python-pytest-cookies
Version: 0.5.1
Release: 0