Bug 1394870 - [RFE] Support BuildRequires(check)
Summary: [RFE] Support BuildRequires(check)
Keywords:
Status: CLOSED DUPLICATE of bug 1134397
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-14 15:47 UTC by Stephen Gallagher
Modified: 2016-11-15 07:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-15 07:30:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephen Gallagher 2016-11-14 15:47:30 UTC
Description of problem:
Currently, RPM supports the skipping of %check with the `--nocheck` argument to rpmbuild. However, when running a build in mock or similar environments, the package still needs to pull in BuildRequires that would only be used for those checks.

As part of the Fedora modularity initiative, we are trying to reduce the dependencies needed for generating modules. One place that we have discovered that pulls in a lot of dependencies that aren't actually needed for runtime is the tests. Since we already know that they passed in the traditional build environment, there's no need to also run them in module builds and pull in the test dependencies.

Please add support for BuildRequires(check) so that we can avoid them in module builds.


Version-Release number of selected component (if applicable):
rpm-4.13.0-4.fc26

Comment 1 Panu Matilainen 2016-11-15 07:30:24 UTC

*** This bug has been marked as a duplicate of bug 1134397 ***


Note You need to log in before you can comment on or make changes to this bug.