From e15cd40c1c90bb4fb837a31fd71134b55a170690 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 20 Feb 2022 11:18:55 -0500 Subject: [PATCH] Simplify man page installation Install it directly from %%{SOURCE1} rather than copying and then installing --- python-hatchling.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-hatchling.spec b/python-hatchling.spec index 9001959..f0f73d7 100644 --- a/python-hatchling.spec +++ b/python-hatchling.spec @@ -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