fedora-infra / bodhi

Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.
https://bodhi.fedoraproject.org
GNU General Public License v2.0
150 stars 189 forks source link

build with spec false: budild require python3dist(poetry-core) but not in spec BuildRequires #5678

Closed kiraskyler closed 1 week ago

kiraskyler commented 2 weeks ago
#rpmbuild -bb bodhi-server.spec
...........
Handling poetry-core>=1.0.0 from build-system.requires
Requirement not satisfied: poetry-core>=1.0.0
Exiting dependency generation pass: build backend
+ cat /root/rpmbuild/BUILD/bodhi-server-8.0.2-2.fc38.x86_64-pyproject-buildrequires
+ rm -rfv '*.dist-info/'
+ cat
+ RPM_EC=0
++ jobs -p
+ exit 0
错误:构建依赖失败:
        python3dist(poetry-core) >= 1 被 bodhi-server-8.0.2-2.fc38.noarch 需要
已写至:/root/rpmbuild/SRPMS/bodhi-server-8.0.2-2.fc38.buildreqs.nosrc.rpm
bodhi-develop/bodhi-server/pyproject.toml

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"