From ab986c01c4d56f4c31ab1d6abcf0a8b73ba48a4794650638ece507263769d426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 20 Jan 2021 13:56:34 +0000 Subject: [PATCH] Accepting request 864588 from home:jayvdb:branches:devel:languages:python:pytest - Submit as python 3.8 only package on Tumbleweed to match cookiecutter OBS-URL: https://build.opensuse.org/request/show/864588 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cookies?expand=0&rev=3 --- python-pytest-cookies.changes | 5 +++++ python-pytest-cookies.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-pytest-cookies.changes b/python-pytest-cookies.changes index 649bf41..fe7daae 100644 --- a/python-pytest-cookies.changes +++ b/python-pytest-cookies.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 20 08:06:16 UTC 2021 - John Vandenberg + +- Submit as python 3.8 only package on Tumbleweed to match cookiecutter + ------------------------------------------------------------------- Sun May 10 12:32:56 AM UTC 2020 - John Vandenberg diff --git a/python-pytest-cookies.spec b/python-pytest-cookies.spec index ace0be4..7f34d53 100644 --- a/python-pytest-cookies.spec +++ b/python-pytest-cookies.spec @@ -17,7 +17,11 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%if %{?python3_version_nodots} == 38 +%define pythons python3 python38 +%else +%define pythons python3 +%endif Name: python-pytest-cookies Version: 0.5.1 Release: 0