From 1e5af4eb28ef29e71e1a192e1d94197314fdcefa7ac522f9607bf3794cc2d997 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Feb 2021 13:08:14 +0000 Subject: [PATCH] Accepting request 870241 from home:okurz:branches:devel:languages:python Fixed no longer supported bare words in build conditions OBS-URL: https://build.opensuse.org/request/show/870241 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydenticon?expand=0&rev=10 --- python-pydenticon.changes | 5 +++++ python-pydenticon.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-pydenticon.changes b/python-pydenticon.changes index 9fc03b6..c63db87 100644 --- a/python-pydenticon.changes +++ b/python-pydenticon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 8 10:44:58 UTC 2021 - Oliver Kurz + +- Fixed no longer supported bare words in build conditions + ------------------------------------------------------------------- Sat Jun 8 11:28:18 UTC 2019 - Oliver Kurz diff --git a/python-pydenticon.spec b/python-pydenticon.spec index 034a854..f7790c4 100644 --- a/python-pydenticon.spec +++ b/python-pydenticon.spec @@ -1,7 +1,7 @@ # # spec file for package python-pydenticon # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # tests on big endian systems fail due to https://github.com/azaghal/pydenticon/issues/10 , disabled until fixed" # can not use "ifarch" when BuildArch is set to noarch -%if %_arch == s390x || %_arch == s390x || %_arch == ppc || %_arch == ppc64 +%if "%_arch" == "s390x" || "%_arch" == "s390x" || "%_arch" == "ppc" || "%_arch" == "ppc64" %bcond_with test %else %bcond_without test @@ -31,7 +31,7 @@ Release: 0 Summary: Library for generating identicons License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/azaghal/%{modname} +URL: https://github.com/azaghal/%{modname} Source: https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz BuildRequires: %{python_module Pillow} BuildRequires: %{python_module base}