SHA256
1
0
forked from pool/python-tblib
Matej Cepl 2024-05-31 22:34:32 +00:00 committed by Git OBS Bridge
parent 0b675b4971
commit 4c10e0a116
2 changed files with 12 additions and 6 deletions

View File

@ -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> Fri May 17 09:22:14 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@ -34,19 +34,20 @@ Group: Development/Languages/Python
URL: https://github.com/ionelmc/python-tblib URL: https://github.com/ionelmc/python-tblib
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz 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-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-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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module Twisted} BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tblib == %{version}} BuildRequires: %{python_module tblib == %{version}}
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -72,11 +73,11 @@ the pickle support.
%autosetup -p1 -n tblib-%{version} %autosetup -p1 -n tblib-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif