From 6a383d76efe8df70faa477a308d5cabfaef92a760c3d388e15d5a53701f898d2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 8 Jun 2021 17:31:23 +0000 Subject: [PATCH] Clean SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-crc32c?expand=0&rev=3 --- python-google-crc32c.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python-google-crc32c.spec b/python-google-crc32c.spec index 66aea17..1633c0f 100644 --- a/python-google-crc32c.spec +++ b/python-google-crc32c.spec @@ -25,18 +25,18 @@ Summary: A python wrapper of the C library 'Google CRC32C' License: Apache-2.0 URL: https://github.com/googleapis/python-crc32c Source: https://github.com/googleapis/python-crc32c/archive/refs/tags/v%{version}.tar.gz#/python-crc32c-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: libcrc32c-devel +BuildRequires: %{python_module cffi >= 1.0.0} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module cffi >= 1.0.0} -# SECTION test requirements -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module cffi >= 1.0.0} -# /SECTION BuildRequires: fdupes +BuildRequires: libcrc32c-devel +BuildRequires: python-rpm-macros Requires: python-cffi >= 1.0.0 Suggests: python-pytest +# SECTION test requirements +BuildRequires: %{python_module cffi >= 1.0.0} +BuildRequires: %{python_module pytest} +# /SECTION %python_subpackages %description