From 47e27fe8efb82be6063580e5a025d47ce19e8a86c49dab63c5e61277f0c889a7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:26:28 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extras?expand=0&rev=20 --- python-extras.changes | 5 +++++ python-extras.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-extras.changes b/python-extras.changes index 1feaf82..de40e05 100644 --- a/python-extras.changes +++ b/python-extras.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:47:50 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sat Apr 1 11:09:27 UTC 2017 - aloisio@gmx.com diff --git a/python-extras.spec b/python-extras.spec index 5a3052d..1bb4563 100644 --- a/python-extras.spec +++ b/python-extras.spec @@ -1,7 +1,7 @@ # # spec file for package python-extras # -# 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/ # @@ -29,7 +29,6 @@ License: MIT Group: Development/Languages/Python Url: https://github.com/testing-cabal/extras Source: https://pypi.io/packages/source/e/extras/extras-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} # Test requirements: %if %{with tests} From c0e347eb4254a6f6ba753f3039e752336069ebb4f2652ec055b456e142b22a45 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:13:07 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extras?expand=0&rev=21 --- python-extras.spec | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/python-extras.spec b/python-extras.spec index 1bb4563..3ace8d3 100644 --- a/python-extras.spec +++ b/python-extras.spec @@ -16,31 +16,29 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} # A build cycle exists between python-extras and python-testtools. Thus, only # enable testing with a build conditional (off by default): %bcond_with tests - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-extras Version: 1.0.0 Release: 0 Summary: Useful extra bits for Python License: MIT Group: Development/Languages/Python -Url: https://github.com/testing-cabal/extras -Source: https://pypi.io/packages/source/e/extras/extras-%{version}.tar.gz +URL: https://github.com/testing-cabal/extras +Source: https://files.pythonhosted.org/packages/source/e/extras/extras-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# Break cycle +#!BuildIgnore: python-extras +BuildArch: noarch # Test requirements: %if %{with tests} BuildRequires: %{python_module nose} BuildRequires: %{python_module testtools} %endif -BuildRequires: fdupes -BuildRequires: python-rpm-macros -# Break cycle -#!BuildIgnore: python-extras -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -64,8 +62,8 @@ general use outside of a testing context. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE NEWS README.rst +%license LICENSE +%doc NEWS README.rst %{python_sitelib}/extras %{python_sitelib}/extras-%{version}-py%{python_version}.egg-info/ From 03cb4debbd4617c13fba68b3588c02e43ea413bf4b17b2ac5188139433ccc844 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 5 Dec 2018 19:21:47 +0000 Subject: [PATCH 3/3] Accepting request 654122 from home:jengelh:branches:devel:languages:python - Trim bias from descriptions. OBS-URL: https://build.opensuse.org/request/show/654122 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extras?expand=0&rev=22 --- python-extras.changes | 5 +++++ python-extras.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-extras.changes b/python-extras.changes index de40e05..2af1d06 100644 --- a/python-extras.changes +++ b/python-extras.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 5 01:04:11 UTC 2018 - Jan Engelhardt + +- Trim bias from descriptions. + ------------------------------------------------------------------- Tue Dec 4 12:47:50 UTC 2018 - Matej Cepl diff --git a/python-extras.spec b/python-extras.spec index 3ace8d3..61c4cbc 100644 --- a/python-extras.spec +++ b/python-extras.spec @@ -23,7 +23,7 @@ Name: python-extras Version: 1.0.0 Release: 0 -Summary: Useful extra bits for Python +Summary: Extra bits for Python License: MIT Group: Development/Languages/Python URL: https://github.com/testing-cabal/extras