Skip to content

bdb subpackage has %description in the wrong place #6319

Closed
@vashirov

Description

@vashirov

Issue Description
rpminspect reports issues with 389-ds-base spec file:

Subpackage 389-ds-base-bdb on aarch64 carries 'Requires: libback-ldbm.so()(64bit)' which comes from subpackage 389-ds-base but does not carry an explicit package version requirement. Please add 'Requires: 389-ds-base = %{version}-%{release}' to the spec file to avoid the need to test interoperability between various combinations of old and new subpackages.

Currently, %description section comes before Requires and Provides. This is a problem for rpmbuild because it is still reading lines for the description when it encounters the Requires and Provides lines. So those never end up in the subpackage RPM header which causes the rpminspect error.

The %description section needs to come after the Requires and Provides lines.

Related: rpminspect/rpminspect#1427

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThe issue will be triaged during scrum

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions