Simplify man page installation
Install it directly from %%{SOURCE1} rather than copying and then installing
This commit is contained in:
parent
13120c9574
commit
e15cd40c1c
@ -36,7 +36,6 @@ Summary: %{summary}
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n hatchling-%{version} -p1
|
%autosetup -n hatchling-%{version} -p1
|
||||||
cp -p '%{SOURCE1}' .
|
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
@ -61,7 +60,7 @@ EOF
|
|||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%pyproject_save_files hatchling
|
%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
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user