From 81e103848066585c3db94c3126e8fda34fe60840 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 8 Jun 2023 17:39:09 +0000 Subject: [PATCH] Move BuildRequires out of subpackage definitions Putting BuildRequires in subpackage definitions "hides" the values and makes the specfile harder to understand. --- python-click.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-click.spec b/python-click.spec index 88cb778..257306e 100644 --- a/python-click.spec +++ b/python-click.spec @@ -12,6 +12,7 @@ Source0: %{url}/archive/%{version}/click-%{version}.tar.gz Patch: pytest-7.3.patch BuildArch: noarch +BuildRequires: python%{python3_pkgversion}-devel %global _description \ click is a Python package for creating beautiful command line\ @@ -24,7 +25,6 @@ comes with good defaults out of the box. %package -n python%{python3_pkgversion}-click Summary: %{summary} -BuildRequires: python%{python3_pkgversion}-devel %description -n python%{python3_pkgversion}-click %{_description}