From 6c57b90097688e51c2088ab8daab4ae5a5f3f3f1 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 16 Apr 2022 08:28:17 -0400 Subject: [PATCH] Install man page directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t bother to copy it into the source tree first --- python-sure.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-sure.spec b/python-sure.spec index 1697822..daf89b7 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -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