BuildRequire make
This commit is contained in:
parent
2a4757bae6
commit
32f60c38e7
@ -25,6 +25,7 @@ BuildRequires: %{py3_dist pytest}
|
|||||||
# NOTE: git is only needed because part of the build process checks if it's in
|
# NOTE: git is only needed because part of the build process checks if it's in
|
||||||
# a git repo
|
# a git repo
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
# Set the name of the documentation directory
|
# Set the name of the documentation directory
|
||||||
%global _docdir_fmt %{name}
|
%global _docdir_fmt %{name}
|
||||||
@ -53,7 +54,7 @@ This package contains documentation for developer documentation for %{srcname}.
|
|||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
# Build the documentation
|
# Build the documentation
|
||||||
make %{?_smp_mflags} DOXYGEN=$(which doxygen) html
|
%make_build DOXYGEN=$(which doxygen) html
|
||||||
# Remove temporary build files
|
# Remove temporary build files
|
||||||
rm documentation/build/html/.buildinfo
|
rm documentation/build/html/.buildinfo
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ rm documentation/build/html/.buildinfo
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make dev-test
|
%make_build dev-test
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{srcname}
|
%files -n python%{python3_pkgversion}-%{srcname}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user