OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itemadapter?expand=0&rev=14
This commit is contained in:
parent
b7de23503a
commit
b9142bb89f
@ -35,7 +35,9 @@ URL: https://github.com/scrapy/itemadapter
|
|||||||
Source: https://github.com/scrapy/itemadapter/archive/v%{version}.tar.gz#/itemadapter-%{version}.tar.gz
|
Source: https://github.com/scrapy/itemadapter/archive/v%{version}.tar.gz#/itemadapter-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM pydantic2.patch gh#scrapy/itemadapter#76
|
# PATCH-FIX-UPSTREAM pydantic2.patch gh#scrapy/itemadapter#76
|
||||||
Patch0: pydantic2.patch
|
Patch0: pydantic2.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools >= 40.5.0}
|
BuildRequires: %{python_module setuptools >= 40.5.0}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@ -56,11 +58,11 @@ manner, regardless of their underlying implementation.
|
|||||||
%autosetup -p1 -n itemadapter-%{version}
|
%autosetup -p1 -n itemadapter-%{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
|
||||||
|
|
||||||
@ -74,7 +76,7 @@ manner, regardless of their underlying implementation.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/itemadapter
|
%{python_sitelib}/itemadapter
|
||||||
%{python_sitelib}/itemadapter-%{version}-py*.egg-info
|
%{python_sitelib}/itemadapter-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user