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:
parent
9298a1f22d
commit
81e1038480
@ -12,6 +12,7 @@ Source0: %{url}/archive/%{version}/click-%{version}.tar.gz
|
|||||||
Patch: pytest-7.3.patch
|
Patch: pytest-7.3.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
|
||||||
%global _description \
|
%global _description \
|
||||||
click is a Python package for creating beautiful command line\
|
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
|
%package -n python%{python3_pkgversion}-click
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-click %{_description}
|
%description -n python%{python3_pkgversion}-click %{_description}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user