From 087ea01d98d6a53256aa167eff55617e97c4156bbce8654bb9de53bb22e9e7cf Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 15 May 2021 20:52:56 +0000 Subject: [PATCH] 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 --- python-pytest-cookies.changes | 5 +++++ python-pytest-cookies.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-pytest-cookies.changes b/python-pytest-cookies.changes index fe7daae..6feccee 100644 --- a/python-pytest-cookies.changes +++ b/python-pytest-cookies.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 15 10:20:11 UTC 2021 - Ben Greiner + +- Don't build two identical packages python{3,38}-pytest-cookies + ------------------------------------------------------------------- Wed Jan 20 08:06:16 UTC 2021 - John Vandenberg diff --git a/python-pytest-cookies.spec b/python-pytest-cookies.spec index 7f34d53..59350e7 100644 --- a/python-pytest-cookies.spec +++ b/python-pytest-cookies.spec @@ -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