Adjust for pyproject-rpm-macros >= 1.1.0
This commit is contained in:
parent
3e6dd0ab17
commit
cbb1511f7d
@ -13,6 +13,8 @@ Source1: hatchling.1
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
# RHBZ#1985340
|
||||||
|
BuildRequires: pyproject-rpm-macros >= 1.1.0
|
||||||
|
|
||||||
%global common_description %{expand:
|
%global common_description %{expand:
|
||||||
This is the extensible, standards compliant build backend used by Hatch.}
|
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}
|
%files -n python3-hatchling -f %{pyproject_files}
|
||||||
# The license file is installed in an unusual subdirectory:
|
%license LICENSE.txt
|
||||||
%dir %{python3_sitelib}/hatchling-%{version}.dist-info/license_files
|
|
||||||
%license %{python3_sitelib}/hatchling-%{version}.dist-info/license_files/LICENSE.txt
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%{_bindir}/hatchling
|
%{_bindir}/hatchling
|
||||||
|
Loading…
Reference in New Issue
Block a user