Use %pyproject_buildrequires
In ELN, the dependency on pyproject-rpm-macros is generated by %pyproject_buildrequires only, the package is not pulled in via python3-devel. This is new since pyproject-rpm-macros 1.6.0.
This commit is contained in:
parent
f63bde014a
commit
ff229fc2be
@ -25,10 +25,6 @@ BuildRequires: font(lato)
|
||||
BuildRequires: font(robotoslab)
|
||||
BuildRequires: make
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: %{py3_dist docutils}
|
||||
BuildRequires: %{py3_dist pip}
|
||||
BuildRequires: %{py3_dist setuptools}
|
||||
BuildRequires: %{py3_dist wheel}
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
BuildRequires: %{py3_dist sphinx}
|
||||
@ -125,6 +121,9 @@ mkdir -p build/lib/%{srcname}/static/js
|
||||
cp -p sphinx_rtd_theme/static/js/badge_only.js build/lib/%{srcname}/static/js
|
||||
cp -p sphinx_rtd_theme/static/js/theme.js build/lib/%{srcname}/static/js
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user