|
|
|
@ -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
|
|
|
|
|