From ee0d532770165a56899f47c1c5900b256a7b00fb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 19 Jan 2024 09:49:29 -0500 Subject: [PATCH] Install the man page directly without first copying it to the build directory --- python-cffsubr.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-cffsubr.spec b/python-cffsubr.spec index 438081f..4195c6b 100644 --- a/python-cffsubr.spec +++ b/python-cffsubr.spec @@ -58,8 +58,6 @@ sed -r -i 's/(ext_modules=)/# \1/' setup.py # Remove bundled adobe-afdko: rm -rf external -cp -p '%{SOURCE1}' . - %build %pyproject_wheel @@ -75,7 +73,7 @@ ln -s '%{txbin}' '%{buildroot}%{txbin}' ln -s '%{buildroot}%{txbin}' %{buildroot}/%{python3_sitelib}/cffsubr/tx symlinks -c -o %{buildroot}/%{python3_sitelib}/cffsubr/tx -install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 'cffsubr.1' +install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}' %check %pytest