Install man page directly

Don’t bother to copy it into the source tree first
This commit is contained in:
Benjamin A. Beasley 2022-04-16 08:28:17 -04:00
parent 94e17f6074
commit 6c57b90097
1 changed files with 1 additions and 3 deletions

View File

@ -72,8 +72,6 @@ Summary: Documentation for Sure
# documentation packages.
echo 'intersphinx_mapping.clear()' >> docs/source/conf.py
cp -p '%{SOURCE1}' .
# Do not generate a coverage report; this obviates the BR on pytest-cov
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_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