From cbb1511f7d7d66634a73429b262905b2ce8acf3d Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 12 Apr 2022 15:17:14 -0400 Subject: [PATCH] Adjust for pyproject-rpm-macros >= 1.1.0 --- python-hatchling.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-hatchling.spec b/python-hatchling.spec index 437b74e..a257151 100644 --- a/python-hatchling.spec +++ b/python-hatchling.spec @@ -13,6 +13,8 @@ Source1: hatchling.1 BuildArch: noarch BuildRequires: python3-devel +# RHBZ#1985340 +BuildRequires: pyproject-rpm-macros >= 1.1.0 %global common_description %{expand: This is the extensible, standards compliant build backend used by Hatch.} @@ -62,9 +64,7 @@ install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}' %files -n python3-hatchling -f %{pyproject_files} -# The license file is installed in an unusual subdirectory: -%dir %{python3_sitelib}/hatchling-%{version}.dist-info/license_files -%license %{python3_sitelib}/hatchling-%{version}.dist-info/license_files/LICENSE.txt +%license LICENSE.txt %doc README.md %{_bindir}/hatchling