Accepting request 1034121 from home:pgajdos:python
- do not require python-six - added patches fix https://github.com/kvesteri/infinity/issues/7 + python-infinity-no-six.patch OBS-URL: https://build.opensuse.org/request/show/1034121 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-infinity?expand=0&rev=7
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-infinity
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-infinity
|
||||
Version: 1.5
|
||||
@@ -24,8 +23,10 @@ Release: 0
|
||||
Summary: All-in-one infinity value for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/kvesteri/infinity
|
||||
URL: https://github.com/kvesteri/infinity
|
||||
Source: https://files.pythonhosted.org/packages/source/i/infinity/infinity-%{version}.tar.gz
|
||||
# https://github.com/kvesteri/infinity/issues/7
|
||||
Patch0: python-infinity-no-six.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -44,6 +45,7 @@ All-in-one infinity value for Python. Can be compared to any object.
|
||||
|
||||
%prep
|
||||
%setup -q -n infinity-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -60,6 +62,8 @@ All-in-one infinity value for Python. Can be compared to any object.
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/__pycache__
|
||||
%{python_sitelib}/*.py
|
||||
%{python_sitelib}/infinity*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user