diff --git a/python-itemadapter.spec b/python-itemadapter.spec index df7770d..1e2c922 100644 --- a/python-itemadapter.spec +++ b/python-itemadapter.spec @@ -24,9 +24,9 @@ Version: 0.1.0 Release: 0 Summary: Wrapper for data container objects License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/scrapy/itemadapter Source: https://github.com/scrapy/itemadapter/archive/v%{version}.tar.gz#/itemadapter-%{version}.tar.gz +BuildRequires: %{python_module Scrapy >= 2.2.0} BuildRequires: %{python_module attrs} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} @@ -35,8 +35,6 @@ BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libffi) -# python3-Scrapy is required for tests -BuildRequires: python3-Scrapy >= 2.2.0 Requires: python-attrs %python_subpackages