Install man page directly
Don’t bother to copy it into the source tree first
This commit is contained in:
parent
94e17f6074
commit
6c57b90097
@ -72,8 +72,6 @@ Summary: Documentation for Sure
|
|||||||
# documentation packages.
|
# documentation packages.
|
||||||
echo 'intersphinx_mapping.clear()' >> docs/source/conf.py
|
echo 'intersphinx_mapping.clear()' >> docs/source/conf.py
|
||||||
|
|
||||||
cp -p '%{SOURCE1}' .
|
|
||||||
|
|
||||||
# Do not generate a coverage report; this obviates the BR on pytest-cov
|
# Do not generate a coverage report; this obviates the BR on pytest-cov
|
||||||
sed -r -i 's/[[:blank:]]--cov=[^[:blank:]]+//' setup.cfg
|
sed -r -i 's/[[:blank:]]--cov=[^[:blank:]]+//' setup.cfg
|
||||||
|
|
||||||
@ -94,7 +92,7 @@ PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='%{?_smp_mflags}'
|
|||||||
%pyproject_install
|
%pyproject_install
|
||||||
%pyproject_save_files sure
|
%pyproject_save_files sure
|
||||||
|
|
||||||
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 sure.1
|
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user