14
0

- Add patch to sort outputs for better reproducability:

* sort-for-reproducibility.patch
- Add missing dep on ordered-set as it is now in the vendored
  dir too

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=181
This commit is contained in:
Tomáš Chvátal
2019-10-16 12:00:39 +00:00
committed by Git OBS Bridge
parent f46ea89c28
commit 274c3cbad5
3 changed files with 51 additions and 1 deletions

View File

@@ -31,12 +31,13 @@ Version: 41.4.0
Release: 0
Summary: Enhancements to distutils for building and distributing Python packages
License: Python-2.0 OR ZPL-2.0
Group: Development/Languages/Python
URL: https://github.com/pypa/setuptools
Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.zip
Source1: psfl.txt
Source2: zpl.txt
Patch0: sort-for-reproducibility.patch
BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module ordered-set}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module six}
BuildRequires: %{python_module xml}
@@ -46,6 +47,7 @@ BuildRequires: unzip
# needed for SLE
Requires: python
Requires: python-appdirs
Requires: python-ordered-set
Requires: python-packaging
Requires: python-six
Requires: python-xml
@@ -85,6 +87,7 @@ especially ones that have dependencies on other packages.
%prep
%setup -q -n setuptools-%{version}
%patch0 -p1
find . -type f -name "*.orig" -delete
# fix rpmlint spurious-executable-perm