Install the man page directly without first copying it to the build directory
This commit is contained in:
parent
3c83f047f0
commit
ee0d532770
@ -58,8 +58,6 @@ sed -r -i 's/(ext_modules=)/# \1/' setup.py
|
|||||||
# Remove bundled adobe-afdko:
|
# Remove bundled adobe-afdko:
|
||||||
rm -rf external
|
rm -rf external
|
||||||
|
|
||||||
cp -p '%{SOURCE1}' .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
@ -75,7 +73,7 @@ ln -s '%{txbin}' '%{buildroot}%{txbin}'
|
|||||||
ln -s '%{buildroot}%{txbin}' %{buildroot}/%{python3_sitelib}/cffsubr/tx
|
ln -s '%{buildroot}%{txbin}' %{buildroot}/%{python3_sitelib}/cffsubr/tx
|
||||||
symlinks -c -o %{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
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user