- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tblib?expand=0&rev=17
This commit is contained in:
parent
0b675b4971
commit
4c10e0a116
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 22:34:24 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 09:22:14 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@ -34,19 +34,20 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/ionelmc/python-tblib
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/ionelmc/python-tblib/pull/77 vendore reraise() from six
|
||||
Patch: vendore-reraise-from-six.patch
|
||||
Patch0: vendore-reraise-from-six.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/ionelmc/python-tblib/issues/74 More aggressive location stripping. Ref #74.
|
||||
Patch: more-aggressive-location-stripping.patch
|
||||
Patch0: more-aggressive-location-stripping.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Twisted}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module tblib == %{version}}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -72,11 +73,11 @@ the pickle support.
|
||||
%autosetup -p1 -n tblib-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user