From 57cec071e439178219e904ca0cb33a7f9d9154eded22fda1dddf8d8d0dbe7d74 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 6 Apr 2020 12:25:11 +0000 Subject: [PATCH] - Stop building Python 2 packages (we avoid also weird constructs with alternative noarch package). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-billiard?expand=0&rev=42 --- python-billiard.changes | 6 ++++++ python-billiard.spec | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/python-billiard.changes b/python-billiard.changes index e0ce777..34bc820 100644 --- a/python-billiard.changes +++ b/python-billiard.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 6 12:24:22 UTC 2020 - Matej Cepl + +- Stop building Python 2 packages (we avoid also weird constructs + with alternative noarch package). + ------------------------------------------------------------------- Mon Mar 30 14:04:42 UTC 2020 - Marketa Calabkova diff --git a/python-billiard.spec b/python-billiard.spec index 33fa203..f51d57b 100644 --- a/python-billiard.spec +++ b/python-billiard.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-billiard Version: 3.6.3.0 Release: 0 @@ -31,13 +32,10 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-devel # Documentation requirements BuildRequires: python3-Sphinx >= 0.5 Suggests: %{name}-doc = %{version} -%ifpython3 BuildArch: noarch -%endif %package -n %{name}-doc Summary: Documentation for %{name} @@ -77,8 +75,7 @@ popd %files %{python_files} %doc CHANGES.txt README.rst %license LICENSE.txt -%python3_only %{python_sitelib}/* -%python2_only %{python_sitearch}/* +%{python_sitelib}/* %files -n %{name}-doc %doc Doc/html