From c02fc4326ecf63d7aa66bcf262235eae7532ef0ecafad7f57bc5a0792bcb9879 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:46:40 +0000 Subject: [PATCH] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-phonenumbers?expand=0&rev=5 --- python-phonenumbers.changes | 5 +++++ python-phonenumbers.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-phonenumbers.changes b/python-phonenumbers.changes index 2c3d639..2a42fae 100644 --- a/python-phonenumbers.changes +++ b/python-phonenumbers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:51:28 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Jan 11 09:21:48 UTC 2018 - parlt@suse.com diff --git a/python-phonenumbers.spec b/python-phonenumbers.spec index be349a6..7bd9620 100644 --- a/python-phonenumbers.spec +++ b/python-phonenumbers.spec @@ -1,7 +1,7 @@ # # spec file for package python-phonenumbers # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,15 +21,14 @@ Name: python-phonenumbers Version: 8.8.9 Release: 0 -License: Apache-2.0 Summary: Python version of Google's common library for international phone numbers -Url: https://github.com/daviddrysdale/python2-phonenumbers +License: Apache-2.0 Group: Development/Languages/Python +Url: https://github.com/daviddrysdale/python2-phonenumbers Source: https://files.pythonhosted.org/packages/source/p/phonenumbers/phonenumbers-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch