From ec29dbb1d7132f84f35d4da44144dd2d3749aab675518142551d77556145dae7 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 30 Nov 2020 12:55:06 +0000 Subject: [PATCH] - Python 3 build only for 15 and greater distros OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-search-documents?expand=0&rev=5 --- python-azure-search-documents.changes | 5 +++++ python-azure-search-documents.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-azure-search-documents.changes b/python-azure-search-documents.changes index 9e56103..890c832 100644 --- a/python-azure-search-documents.changes +++ b/python-azure-search-documents.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert + +- Only build Python3 flavors for distributions 15 and greater + ------------------------------------------------------------------- Fri Aug 28 11:30:14 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-azure-search-documents.spec b/python-azure-search-documents.spec index 3a8c0bf..40bd811 100644 --- a/python-azure-search-documents.spec +++ b/python-azure-search-documents.spec @@ -17,6 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} >= 1500 +%define skip_python2 1 +%endif Name: python-azure-search-documents Version: 11.0.0 Release: 0