forked from pool/python-jaraco.stream
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.stream?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 13:47:38 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 26 08:52:40 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Tue Feb 26 08:52:40 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -23,13 +23,16 @@ Version: 2.0
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Routines for dealing with data streams
|
Summary: Routines for dealing with data streams
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/jaraco/jaraco.stream
|
||||||
Url: https://github.com/jaraco/jaraco.stream
|
|
||||||
Source: https://files.pythonhosted.org/packages/source/j/%{_name}/%{_name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/%{_name}/%{_name}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-jaraco.base >= 6.1
|
||||||
|
Requires: python-more-itertools
|
||||||
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module more-itertools}
|
BuildRequires: %{python_module more-itertools}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -41,10 +44,6 @@ BuildRequires: %{python_module jaraco.packaging >= 6.1}
|
|||||||
BuildRequires: %{python_module pylons-sphinx-themes}
|
BuildRequires: %{python_module pylons-sphinx-themes}
|
||||||
BuildRequires: %{python_module rst.linker >= 1.9}
|
BuildRequires: %{python_module rst.linker >= 1.9}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-jaraco.base >= 6.1
|
|
||||||
Requires: python-more-itertools
|
|
||||||
Requires: python-six
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,7 +52,6 @@ for loading gzip data on the fly.
|
|||||||
|
|
||||||
%package -n %{name}-doc
|
%package -n %{name}-doc
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
Group: Documentation/HTML
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Provides: %{python_module jaraco.stream-doc = %{version}}
|
Provides: %{python_module jaraco.stream-doc = %{version}}
|
||||||
|
|
||||||
@@ -67,14 +65,14 @@ rm -rf jaraco.stream.egg-info
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
# We will package the namespace __init__.py separately
|
# We will package the namespace __init__.py separately
|
||||||
%{python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py*
|
%{python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py*
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
|
rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
|
||||||
%fdupes -s %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Reference in New Issue
Block a user