We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf25ca9 commit 805006aCopy full SHA for 805006a
1 file changed
pkg/package.spec.in
@@ -58,14 +58,14 @@ HTML documentation for %{name}.
58
59
%prep
60
%autosetup -n %{pkgname}-%{version}
61
+# hack: To avoid build-time error with the later license identifier format in
62
+# pyproject.toml since PEP 639.
63
+sed -i.save -r '/^license = /,/^]/s/^.*/# &/g' pyproject.toml
64
65
%generate_buildrequires
66
%pyproject_buildrequires -t
67
68
%build
-# hack: To avoid build-time error with the later license identifier format in
-# pyproject.toml since PEP 639.
-sed -i.save -r '/^license = /,/^]/s/^.*/# &/g' pyproject.toml
69
%pyproject_wheel
70
71
%if %{with doc}
0 commit comments