Move BuildRequires out of subpackage definitions

Putting BuildRequires in subpackage definitions "hides" the values and
makes the specfile harder to understand.
This commit is contained in:
Maxwell G 2023-06-08 17:39:09 +00:00 committed by cstratak
parent 9298a1f22d
commit 81e1038480

View File

@ -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}