Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate spec/srpm (dynamic) build requires as a separate build mode #1358

Closed
praiskup opened this issue Apr 12, 2024 · 2 comments
Closed
Assignees
Labels
enhancement feature request, rfe

Comments

@praiskup
Copy link
Member

There should be a Mock mode that provides just the src.rpm with expanded BuildRequires, after successfully iterating the %generate_buildrequires specfile section.

The point is to not perform the whole package build, just %prep and %generate_buildrequires.

@kdudka
Copy link
Contributor

kdudka commented Jun 14, 2024

This would certainly be useful for implementing the support for dynamic build requires in csmock (without the need to reimplement everything from scratch).

@FrostyX FrostyX moved this from In 2 years to In Progress in CPT Kanban Jun 17, 2024
praiskup added a commit to praiskup/mock that referenced this issue Jun 26, 2024
When specified, the ".buildreqs.nosrc.rpm" file is provided in the
results directory.

Fixes: rpm-software-management#1358
praiskup added a commit to praiskup/mock that referenced this issue Jun 26, 2024
When specified, the ".buildreqs.nosrc.rpm" file is provided in the
results directory.

Fixes: rpm-software-management#1358
praiskup added a commit to praiskup/mock that referenced this issue Jul 1, 2024
When specified, the ".buildreqs.nosrc.rpm" file is provided in the
results directory.

Fixes: rpm-software-management#1358
praiskup added a commit to praiskup/mock that referenced this issue Jul 2, 2024
When specified, the ".buildreqs.nosrc.rpm" file is provided in the
results directory.

Fixes: rpm-software-management#1358
praiskup added a commit to praiskup/mock that referenced this issue Jul 3, 2024
When specified, the ".buildreqs.nosrc.rpm" file is provided in the
results directory.

Fixes: rpm-software-management#1358
praiskup added a commit to praiskup/mock that referenced this issue Aug 19, 2024
When specified, the ".buildreqs.nosrc.rpm" file is provided in the
results directory.

Fixes: rpm-software-management#1358
@praiskup
Copy link
Member Author

In progress, see PR

praiskup added a commit to praiskup/mock that referenced this issue Sep 3, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 3, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 3, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 3, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 3, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 4, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 4, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 6, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
praiskup added a commit to praiskup/mock that referenced this issue Sep 10, 2024
There are new options, --calculate-build-dependencies and
--isolated-build.  New buildroot_lock plugin added.

Fixes: rpm-software-management#1358
Merges: rpm-software-management#1393
Relates: rpm-software-management#1380
@xsuchy xsuchy closed this as completed in 0b94d48 Sep 10, 2024
@nikromen nikromen moved this from In Progress to Done in CPT Kanban Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request, rfe
Projects
None yet
Development

No branches or pull requests

2 participants