Simplify man page installation

Install it directly from %%{SOURCE1} rather than copying and then installing
epel9
Benjamin A. Beasley 3 years ago
parent 13120c9574
commit e15cd40c1c

@ -36,7 +36,6 @@ Summary: %{summary}
%prep
%autosetup -n hatchling-%{version} -p1
cp -p '%{SOURCE1}' .
%generate_buildrequires
@ -61,7 +60,7 @@ EOF
%install
%pyproject_install
%pyproject_save_files hatchling
install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 hatchling.1
install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
%check

Loading…
Cancel
Save