From a50ba8873978d38200420fb3d567f23e5cb762c05f99099d5881af3bbb20c2f8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:34:41 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=40 --- python-ipaddr.changes | 5 +++++ python-ipaddr.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-ipaddr.changes b/python-ipaddr.changes index 4f00387..b16cf30 100644 --- a/python-ipaddr.changes +++ b/python-ipaddr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:49:22 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Aug 31 16:53:09 UTC 2017 - toddrme2178@gmail.com diff --git a/python-ipaddr.spec b/python-ipaddr.spec index 285a66e..6fa3862 100644 --- a/python-ipaddr.spec +++ b/python-ipaddr.spec @@ -1,7 +1,7 @@ # # spec file for package python-ipaddr # -# 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,7 @@ # 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/ # @@ -27,11 +27,10 @@ Url: http://code.google.com/p/ipaddr-py/ Source: https://files.pythonhosted.org/packages/source/i/ipaddr/ipaddr-%{version}.tar.gz # PATCH-FIX-OPENSUSE - use_2to3.patch - use 2to3 to build python3 packages Patch0: use_2to3.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module pkginfo} BuildRequires: %{python_module setuptools} -BuildRequires: python3-2to3 BuildRequires: python-rpm-macros +BuildRequires: python3-2to3 BuildArch: noarch %python_subpackages From e68439b5a7532f9a97222dcde8e66bc08e609cb0b863b53de3b3bf4f7deb8efa Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:15:21 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=41 --- python-ipaddr.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-ipaddr.spec b/python-ipaddr.spec index 6fa3862..2da060c 100644 --- a/python-ipaddr.spec +++ b/python-ipaddr.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Google's IP address manipulation library License: Apache-2.0 Group: Development/Languages/Python -Url: http://code.google.com/p/ipaddr-py/ +URL: http://code.google.com/p/ipaddr-py/ Source: https://files.pythonhosted.org/packages/source/i/ipaddr/ipaddr-%{version}.tar.gz # PATCH-FIX-OPENSUSE - use_2to3.patch - use 2to3 to build python3 packages Patch0: use_2to3.patch @@ -32,7 +32,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: python3-2to3 BuildArch: noarch - %python_subpackages %description @@ -66,8 +65,8 @@ $python -B ipaddr_test-%{$python_bin_suffix}.py popd %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING README RELEASENOTES +%license COPYING +%doc README RELEASENOTES %{python_sitelib}/* %changelog