15
0
forked from pool/python-extras

Accepting request 655394 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/655394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extras?expand=0&rev=12
This commit is contained in:
2018-12-06 11:15:03 +00:00
committed by Git OBS Bridge
2 changed files with 23 additions and 16 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 5 01:04:11 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from descriptions.
-------------------------------------------------------------------
Tue Dec 4 12:47:50 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sat Apr 1 11:09:27 UTC 2017 - aloisio@gmx.com

View File

@@ -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,36 +12,33 @@
# 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-%{**}}
# 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
Summary: 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
BuildRequires: %{python_module devel}
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
@@ -65,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/